mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 13:32:29 +00:00
Shorter structs.
This commit is contained in:
parent
7edf8c9bb7
commit
9075c8d23d
1 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ struct _GLContextState {
|
||||||
Window window;
|
Window window;
|
||||||
XVisualInfo *visual;
|
XVisualInfo *visual;
|
||||||
GLXContext context;
|
GLXContext context;
|
||||||
guint swapped_buffers;
|
guint swapped_buffers : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
GLContextState *
|
GLContextState *
|
||||||
|
@ -96,10 +96,10 @@ gl_swap_buffers(GLContextState *cs)
|
||||||
|
|
||||||
typedef struct _GLTextureState GLTextureState;
|
typedef struct _GLTextureState GLTextureState;
|
||||||
struct _GLTextureState {
|
struct _GLTextureState {
|
||||||
gboolean was_enabled;
|
|
||||||
gboolean was_bound;
|
|
||||||
GLenum target;
|
GLenum target;
|
||||||
GLuint old_texture;
|
GLuint old_texture;
|
||||||
|
guint was_enabled : 1;
|
||||||
|
guint was_bound : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|
Loading…
Reference in a new issue