Unify ARB_depth_texture and SGIX_depth_texture
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
This commit is contained in:
@@ -165,7 +165,7 @@ static const struct {
|
||||
{ OFF, "GL_SGIS_texture_border_clamp", F(ARB_texture_border_clamp) },
|
||||
{ ON, "GL_SGIS_texture_edge_clamp", F(SGIS_texture_edge_clamp) },
|
||||
{ ON, "GL_SGIS_texture_lod", F(SGIS_texture_lod) },
|
||||
{ OFF, "GL_SGIX_depth_texture", F(SGIX_depth_texture) },
|
||||
{ OFF, "GL_SGIX_depth_texture", F(ARB_depth_texture) },
|
||||
{ OFF, "GL_SGIX_shadow", F(SGIX_shadow) },
|
||||
{ OFF, "GL_SGIX_shadow_ambient", F(SGIX_shadow_ambient) },
|
||||
{ OFF, "GL_SUN_multi_draw_arrays", F(EXT_multi_draw_arrays) },
|
||||
@@ -292,7 +292,6 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
|
||||
ctx->Extensions.SGI_texture_color_table = GL_TRUE;
|
||||
ctx->Extensions.SGIS_generate_mipmap = GL_TRUE;
|
||||
ctx->Extensions.SGIS_texture_edge_clamp = GL_TRUE;
|
||||
ctx->Extensions.SGIX_depth_texture = GL_TRUE;
|
||||
ctx->Extensions.SGIX_shadow = GL_TRUE;
|
||||
ctx->Extensions.SGIX_shadow_ambient = GL_TRUE;
|
||||
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
|
||||
|
Reference in New Issue
Block a user