aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-08-28 22:46:22 +0000
committerBrian Paul <[email protected]>2001-08-28 22:46:22 +0000
commit2a88946f9ad82350c2f7edc2185bf9394d2d4764 (patch)
tree53089d3aa84837e9e8ade7f57822c39a72f35f21 /src/mesa/drivers
parentafe4f5e6c165e21e1353388ad0f95822569b901b (diff)
OpenGL 1.3 support
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c3
-rw-r--r--src/mesa/drivers/x11/xm_api.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 227b889f561..42de21641ac 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.63 2001/07/14 17:53:04 brianp Exp $ */
+/* $Id: osmesa.c,v 1.64 2001/08/28 22:46:22 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -306,6 +306,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
}
_mesa_enable_sw_extensions(&(osmesa->gl_ctx));
+ _mesa_enable_1_3_extensions(&(osmesa->gl_ctx));
osmesa->gl_buffer = _mesa_create_framebuffer( osmesa->gl_visual,
osmesa->gl_visual->depthBits > 0,
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index a487f229055..a077749d597 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.25 2001/06/15 14:18:46 brianp Exp $ */
+/* $Id: xm_api.c,v 1.26 2001/08/28 22:46:22 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1636,7 +1636,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
}
_mesa_enable_sw_extensions(ctx);
- _mesa_enable_extension(ctx, "GL_ARB_texture_compression");
+ _mesa_enable_1_3_extensions(ctx);
ctx->Driver.BaseCompressedTexFormat = _mesa_base_compressed_texformat;
ctx->Driver.CompressedTextureSize = _mesa_compressed_texture_size;
ctx->Driver.GetCompressedTexImage = _mesa_get_compressed_teximage;
@@ -2506,7 +2506,7 @@ const char *XMesaGetString( XMesaContext c, int name )
{
(void) c;
if (name==XMESA_VERSION) {
- return "3.1";
+ return "3.5";
}
else if (name==XMESA_EXTENSIONS) {
return "";