summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa/osmesa.c
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/osmesa/osmesa.c
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/osmesa/osmesa.c')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 74850556a76..9f7280564cc 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.31 2000/11/16 21:05:38 keithw Exp $ */
+/* $Id: osmesa.c,v 1.32 2000/11/17 21:01:40 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -53,6 +53,7 @@
#include "swrast/s_depth.h"
#include "swrast/s_lines.h"
#include "swrast/s_triangle.h"
+#include "tnl/tnl.h"
#endif
@@ -273,9 +274,8 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
FREE(osmesa);
return NULL;
}
- gl_extensions_enable(&(osmesa->gl_ctx),"GL_HP_occlusion_test");
- gl_extensions_enable(&(osmesa->gl_ctx), "GL_ARB_texture_cube_map");
- gl_extensions_enable(&(osmesa->gl_ctx), "GL_EXT_texture_env_combine");
+
+ _mesa_enable_sw_extensions(&(osmesa->gl_ctx));
osmesa->gl_buffer = _mesa_create_framebuffer( osmesa->gl_visual,
osmesa->gl_visual->DepthBits > 0,