diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-08-26 10:58:35 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-08-26 11:07:32 -0400 |
commit | fd94651fc3a6f49ec153ffb823b86c1d125bb298 (patch) | |
tree | 38970af6cc3c81a284440068c08e0e0ea0fe9d4e /glx/glxscreens.h | |
parent | 41bd8d5dfe27d5c91fe7e4cdba1475a2a0741b1c (diff) |
Fix driGetConfigAttribIndex unaligned access to GLboolean.
We don't actually send the float mode so just drop it. Drop a couple of
other unused or redundant fields from GLXconfig.
Diffstat (limited to 'glx/glxscreens.h')
-rw-r--r-- | glx/glxscreens.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/glx/glxscreens.h b/glx/glxscreens.h index dfe7c9d0a..53bb009b7 100644 --- a/glx/glxscreens.h +++ b/glx/glxscreens.h @@ -58,16 +58,9 @@ void __glXSwapBarrierInit(int screen, __GLXSwapBarrierExtensionFuncs *funcs); typedef struct __GLXconfig __GLXconfig; struct __GLXconfig { __GLXconfig *next; - GLboolean rgbMode; - GLboolean floatMode; - GLboolean colorIndexMode; GLuint doubleBufferMode; GLuint stereoMode; - GLboolean haveAccumBuffer; - GLboolean haveDepthBuffer; - GLboolean haveStencilBuffer; - GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ GLuint redMask, greenMask, blueMask, alphaMask; GLint rgbBits; /* total bits for rgb */ |