From 9075c8d23def829426538c3b6d7271beb747ca1d Mon Sep 17 00:00:00 2001 From: gb Date: Thu, 1 Apr 2010 13:55:19 +0000 Subject: [PATCH] Shorter structs. --- gst-libs/gst/vaapi/gstvaapiutils_glx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.h b/gst-libs/gst/vaapi/gstvaapiutils_glx.h index a13adbd236..58b85b4ab0 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_glx.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.h @@ -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 -- 2.34.1