From 5476daf9e6ff7077946490d6abe3294be7a24c86 Mon Sep 17 00:00:00 2001 From: idr Date: Fri, 11 Jun 2004 01:30:44 +0000 Subject: Fix a subtle bug that could cause some extensions to be erroneously enabled. --- xc/lib/GL/glx/glxextensions.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- cgit v1.2.3