mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: remove SGIS_texture_lod extension enable flag
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
01f0bedc2d
commit
b8380e54b8
2 changed files with 1 additions and 20 deletions
|
|
@ -317,7 +317,7 @@ static const struct extension extension_table[] = {
|
|||
{ "GL_SGIS_generate_mipmap", o(dummy_true), GLL, 1997 },
|
||||
{ "GL_SGIS_texture_border_clamp", o(ARB_texture_border_clamp), GLL, 1997 },
|
||||
{ "GL_SGIS_texture_edge_clamp", o(dummy_true), GLL, 1997 },
|
||||
{ "GL_SGIS_texture_lod", o(SGIS_texture_lod), GLL, 1997 },
|
||||
{ "GL_SGIS_texture_lod", o(dummy_true), GLL, 1997 },
|
||||
{ "GL_SUN_multi_draw_arrays", o(dummy_true), GLL, 1999 },
|
||||
|
||||
{ 0, 0, 0, 0 },
|
||||
|
|
@ -349,21 +349,6 @@ name_to_offset(const char* name)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* \brief Extensions enabled by default.
|
||||
*
|
||||
* These extensions are enabled by _mesa_init_extensions().
|
||||
*
|
||||
* XXX: Should these defaults also apply to GLES?
|
||||
*/
|
||||
static const size_t default_extensions[] = {
|
||||
/* Vendor Extensions */
|
||||
o(SGIS_texture_lod),
|
||||
|
||||
0,
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Enable all extensions suitable for a software-only renderer.
|
||||
* This is a convenience function used by the XMesa, OSMesa, GGI drivers, etc.
|
||||
|
|
@ -695,7 +680,6 @@ _mesa_init_extensions( struct gl_context *ctx )
|
|||
GLboolean *base = (GLboolean *) &ctx->Extensions;
|
||||
GLboolean *sentinel = base + o(extension_sentinel);
|
||||
GLboolean *i;
|
||||
const size_t *j;
|
||||
|
||||
/* First, turn all extensions off. */
|
||||
for (i = base; i != sentinel; ++i)
|
||||
|
|
@ -704,8 +688,6 @@ _mesa_init_extensions( struct gl_context *ctx )
|
|||
/* Then, selectively turn default extensions on. */
|
||||
ctx->Extensions.dummy_true = GL_TRUE;
|
||||
ctx->Extensions.EXT_texture3D = GL_TRUE;
|
||||
for (j = default_extensions; *j != 0; ++j)
|
||||
base[*j] = GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3053,7 +3053,6 @@ struct gl_extensions
|
|||
GLboolean NV_texture_barrier;
|
||||
GLboolean NV_texture_env_combine4;
|
||||
GLboolean NV_texture_rectangle;
|
||||
GLboolean SGIS_texture_lod;
|
||||
GLboolean TDFX_texture_compression_FXT1;
|
||||
GLboolean S3_s3tc;
|
||||
GLboolean OES_EGL_image;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue