Shorter structs.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Thu, 1 Apr 2010 13:55:19 +0000 (13:55 +0000)
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Thu, 1 Apr 2010 13:55:19 +0000 (13:55 +0000)
gst-libs/gst/vaapi/gstvaapiutils_glx.h

index a13adbd..58b85b4 100644 (file)
@@ -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