mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +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;
|
||||
XVisualInfo *visual;
|
||||
GLXContext context;
|
||||
guint swapped_buffers;
|
||||
guint swapped_buffers : 1;
|
||||
};
|
||||
|
||||
GLContextState *
|
||||
|
@ -96,10 +96,10 @@ gl_swap_buffers(GLContextState *cs)
|
|||
|
||||
typedef struct _GLTextureState GLTextureState;
|
||||
struct _GLTextureState {
|
||||
gboolean was_enabled;
|
||||
gboolean was_bound;
|
||||
GLenum target;
|
||||
GLuint old_texture;
|
||||
guint was_enabled : 1;
|
||||
guint was_bound : 1;
|
||||
};
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in a new issue