diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-02-27 00:05:27 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-02-27 00:05:27 +0000 |
commit | 01a5dd879b2b29a1d30622eac3ff81bddf6b28a1 (patch) | |
tree | 48cf64a349be5d61cb1277aa3a8713cef9adfdb7 /src | |
parent | 6975540db26309cdfa8f27b3b6dadf3dbf4a1746 (diff) |
minor extension tweaks
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 3 | ||||
-rw-r--r-- | src/mesa/main/extensions.c | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index c26a373a96..3378b8162c 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -834,6 +834,9 @@ void fxDDInitExtensions( GLcontext *ctx ) _mesa_add_extension(ctx, GL_TRUE, "3DFX_set_global_palette", 0); _mesa_enable_extension(ctx, "GL_EXT_point_parameters"); + _mesa_enable_extension(ctx, "GL_EXT_paletted_texture"); + _mesa_enable_extension(ctx, "GL_EXT_texture_lod_bias"); + _mesa_enable_extension(ctx, "GL_EXT_shared_texture_palette"); if (fxMesa->haveTwoTMUs) _mesa_enable_extension(ctx, "GL_EXT_texture_env_add"); diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index d11b5b98da..39cf34cd4e 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -1,4 +1,4 @@ -/* $Id: extensions.c,v 1.49 2001/02/26 23:58:12 brianp Exp $ */ +/* $Id: extensions.c,v 1.50 2001/02/27 00:05:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -80,7 +80,7 @@ static struct { { OFF, "GL_EXT_point_parameters", F(EXT_point_parameters) }, { ON, "GL_EXT_polygon_offset", F(EXT_polygon_offset) }, { ON, "GL_EXT_rescale_normal", F(EXT_rescale_normal) }, - { ON, "GL_EXT_secondary_color", F(EXT_secondary_color) }, + { OFF, "GL_EXT_secondary_color", F(EXT_secondary_color) }, { OFF, "GL_EXT_shared_texture_palette", F(EXT_shared_texture_palette) }, { OFF, "GL_EXT_stencil_wrap", F(EXT_stencil_wrap) }, { ON, "GL_EXT_texture3D", F(EXT_texture3D) }, @@ -105,9 +105,9 @@ static struct { { OFF, "GL_SGIS_pixel_texture", F(SGIS_pixel_texture) }, { OFF, "GL_SGIS_texture_edge_clamp", F(SGIS_texture_edge_clamp) }, { OFF, "GL_SGIX_depth_texture", F(SGIX_depth_texture) }, + { OFF, "GL_SGIX_pixel_texture", F(SGIX_pixel_texture) }, { OFF, "GL_SGIX_shadow", F(SGIX_shadow) }, { OFF, "GL_SGIX_shadow_ambient", F(SGIX_shadow_ambient) }, - { OFF, "GL_SGIX_pixel_texture", F(SGIX_pixel_texture) }, { OFF, "GL_3DFX_texture_compression_FXT1", F(_3DFX_texture_compression_FXT1) } }; @@ -136,6 +136,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx) "GL_EXT_histogram", "GL_EXT_paletted_texture", "GL_EXT_point_parameters", + "GL_EXT_secondary_color", "GL_EXT_shared_texture_palette", "GL_EXT_stencil_wrap", "GL_EXT_texture_env_add", @@ -145,16 +146,16 @@ _mesa_enable_sw_extensions(GLcontext *ctx) "GL_HP_occlusion_test", "GL_INGR_blend_func_separate", "GL_MESA_resize_buffers", + "GL_NV_blend_square", "GL_NV_texgen_reflection", "GL_SGI_color_matrix", - "GL_SGI_color_matrix", "GL_SGI_color_table", "GL_SGIS_pixel_texture", "GL_SGIS_texture_edge_clamp", "GL_SGIX_depth_texture", + "GL_SGIX_pixel_texture", "GL_SGIX_shadow", "GL_SGIX_shadow_ambient", - "GL_SGIX_pixel_texture", NULL }; GLuint i; |