projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d598ca0
)
Added support for GL_ext_texture_add
author
Miklos Fazekas
<boga@valerie.inf.elte.hu>
Tue, 5 Oct 1999 18:48:49 +0000
(18:48 +0000)
committer
Miklos Fazekas
<boga@valerie.inf.elte.hu>
Tue, 5 Oct 1999 18:48:49 +0000
(18:48 +0000)
src/mesa/drivers/glide/fxdd.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/glide/fxdd.c
b/src/mesa/drivers/glide/fxdd.c
index 0c0b827795fb65e85420346c6a29b8cbb42d01af..8ba124508e69263bc0d6ad4ef8f89861b73de9a7 100644
(file)
--- a/
src/mesa/drivers/glide/fxdd.c
+++ b/
src/mesa/drivers/glide/fxdd.c
@@
-337,6
+337,7
@@
static GLint fxDDGetParameteri(const GLcontext *ctx, GLint param)
fprintf(stderr,"fx Driver: internal error in fxDDGetParameteri(): %x\n",param);
fxCloseHardware();
exit(-1);
+ return 0;
}
}
@@
-409,6
+410,9
@@
void fxDDInitExtensions( GLcontext *ctx )
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_add( ctx, DEFAULT_ON, "GL_EXT_texture_env_add", 0);
+
if (!fxMesa->emulateTwoTMUs)
gl_extensions_disable( ctx, "GL_ARB_multitexture" );
}