summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-17 21:01:25 +0000
committerBrian Paul <[email protected]>2000-11-17 21:01:25 +0000
commit5a9026c65d260dc185e072163999f5d810015108 (patch)
tree250630676f5a7493292cb378def17f3105f046c7 /src/mesa/drivers/x11
parent9e83e8c790d8b612a7256c630f6ff7e063faaccb (diff)
Minor header file changes to silence warnings.
Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index f48da3bbfe5..412d1eed966 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1,4 +1,4 @@
-/* $Id: xm_api.c,v 1.8 2000/11/16 21:05:40 keithw Exp $ */
+/* $Id: xm_api.c,v 1.9 2000/11/17 21:01:48 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1638,9 +1638,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
return NULL;
}
- gl_extensions_enable(ctx, "GL_HP_occlusion_test");
- gl_extensions_enable(ctx, "GL_ARB_texture_cube_map");
- gl_extensions_enable(ctx, "GL_EXT_texture_env_combine");
+ _mesa_enable_sw_extensions(ctx);
if (CHECK_BYTE_ORDER(v)) {
c->swapbytes = GL_FALSE;