diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-03-18 17:51:21 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-03-18 18:04:14 -0400 |
commit | edad0a9dfebcce5c54b2f9c32bd9d45549e20c51 (patch) | |
tree | 664197b4f02d9cabc6bc5063bea030fe3c8769a9 /GL | |
parent | cdadd2ff9bade318caac5c1d9bcdc8a001347da9 (diff) |
Apply __glXDisp_GetVisualConfigs message patch
From http://bugs.freedesktop.org/show_bug.cgi?id=13863
Problem was that the glxcmds.c __glXDisp_GetVisualConfigs
function left garbage in the tail end of the message used for extensions.
Diffstat (limited to 'GL')
-rw-r--r-- | GL/glx/glxcmds.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/GL/glx/glxcmds.c b/GL/glx/glxcmds.c index 32d1bc834..3b79cca20 100644 --- a/GL/glx/glxcmds.c +++ b/GL/glx/glxcmds.c @@ -944,6 +944,12 @@ int __glXDisp_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc) buf[p++] = modes->transparentAlpha; buf[p++] = GLX_TRANSPARENT_INDEX_VALUE; buf[p++] = modes->transparentIndex; + buf[p++] = 0; + buf[p++] = 0; + buf[p++] = 0; + buf[p++] = 0; + buf[p++] = 0; + buf[p++] = 0; if (client->swapped) { __GLX_SWAP_INT_ARRAY(buf, __GLX_TOTAL_CONFIG); |