From: Brian Paul Date: Sun, 19 Mar 2000 23:44:24 +0000 (+0000) Subject: removed GL_FXMESA_global_texture_lod_bias extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0555a98926fca7b15cd6c67d22d31b8efc8cc67c;p=mesa.git removed GL_FXMESA_global_texture_lod_bias extension --- diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index 2465ce37bc9..6aea93fbf0c 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -693,20 +693,6 @@ void GLAPIENTRY fxMesaSetNearFar(GLfloat n, GLfloat f) } -/* - * The extension GL_FXMESA_global_texture_lod_bias - */ -/* XXX this function may soon go away in favor of GL_EXT_texture_lod_bias */ -extern void GLAPIENTRY glGlobalTextureLODBiasFXMESA(GLfloat biasVal); -void GLAPIENTRY glGlobalTextureLODBiasFXMESA(GLfloat biasVal) -{ - grTexLodBiasValue(GR_TMU0,biasVal); - - if(fxMesaCurrentCtx->haveTwoTMUs) - grTexLodBiasValue(GR_TMU1,biasVal); -} - - /* * The 3Dfx Global Palette extension for GLQuake. * More a trick than a real extesion, use the shared global diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index be48efd0c92..5bb4d2d98f0 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -770,7 +770,6 @@ void fxDDInitExtensions( GLcontext *ctx ) gl_extensions_disable(ctx, "GL_EXT_paletted_texture"); gl_extensions_add(ctx, DEFAULT_ON, "3DFX_set_global_palette", 0); - gl_extensions_add(ctx, DEFAULT_ON, "GL_FXMESA_global_texture_lod_bias", 0); if (!fxMesa->haveTwoTMUs) gl_extensions_disable(ctx, "GL_EXT_texture_env_add");