summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/GL/glxmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/GL/glxmodule.c')
-rw-r--r--xc/programs/Xserver/GL/glxmodule.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/xc/programs/Xserver/GL/glxmodule.c b/xc/programs/Xserver/GL/glxmodule.c
index 715c9fc72..6322f453b 100644
--- a/xc/programs/Xserver/GL/glxmodule.c
+++ b/xc/programs/Xserver/GL/glxmodule.c
@@ -25,7 +25,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**************************************************************************/
-/* $XFree86: xc/programs/Xserver/GL/glxmodule.c,v 1.5 1999/06/14 07:31:19 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/GL/glxmodule.c,v 1.8 2000/02/18 16:23:12 dawes Exp $ */
/*
* Authors:
@@ -44,12 +44,15 @@ extern void GlxExtensionInit(INITARGS);
extern void GlxWrapInitVisuals(miInitVisualsProcPtr *);
extern void InitGlxWrapInitVisuals(void (*f)(miInitVisualsProcPtr *));
+static const char *initdeps[] = { "DOUBLE-BUFFER", NULL };
+
ExtensionModule GLXExt =
{
GlxExtensionInit,
"GLX",
NULL,
- NULL
+ NULL,
+ initdeps
};
@@ -74,12 +77,12 @@ glxSetup(pointer module, pointer opts, int *errmaj, int *errmin)
{
pointer GLcore = NULL;
#ifdef GLX_USE_SGI_SI
- char GLcoreName[] = "libGL";
+ char GLcoreName[] = "GL";
#else
- char GLcoreName[] = "libGLcore";
+ char GLcoreName[] = "GLcore";
#endif
- LoadExtension(&GLXExt);
+ LoadExtension(&GLXExt, FALSE);
/* Wrap the init visuals routine in micmap.c */
GlxWrapInitVisuals(&miInitVisualsProc);