summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridr <idr>2004-06-11 01:30:44 +0000
committeridr <idr>2004-06-11 01:30:44 +0000
commit5476daf9e6ff7077946490d6abe3294be7a24c86 (patch)
treeb803ecc72c846dba0e1083ca12a1cecfc5a4ad13
parent02c30fcb647f8db556197a6d1be6ec3e17650eda (diff)
Fix a subtle bug that could cause some extensions to be erroneously
enabled.
-rw-r--r--xc/lib/GL/glx/glxextensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xc/lib/GL/glx/glxextensions.c b/xc/lib/GL/glx/glxextensions.c
index 4d34156a1..12645a74c 100644
--- a/xc/lib/GL/glx/glxextensions.c
+++ b/xc/lib/GL/glx/glxextensions.c
@@ -637,6 +637,8 @@ __glXCalculateUsableGLExtensions( __GLXcontext * gc,
__glXExtensionsCtr();
+
+ (void) memset( server_support, 0, sizeof( server_support ) );
__glXProcessServerString( known_gl_extensions, server_string,
server_support );