summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2003-10-22 11:34:22 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2003-10-22 11:34:22 +0000
commit23f45833aa6c9b90f48ce5aa08dca6dadc49f62f (patch)
treef9fe4e67ceff392561156a2c2dd21b9baf046bed /src/mesa/drivers/glide
parente87d106d66619791c54c71908c957af1d869c6fc (diff)
cosmetics and memos
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r--src/mesa/drivers/glide/fxsetup.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxsetup.h b/src/mesa/drivers/glide/fxsetup.h
index 90aefe2758..9f028fb999 100644
--- a/src/mesa/drivers/glide/fxsetup.h
+++ b/src/mesa/drivers/glide/fxsetup.h
@@ -165,7 +165,7 @@ fxSetupTextureEnvNapalm_NoLock(GLcontext * ctx, GLuint textureset, GLuint tmu, G
const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[textureset];
struct tdfx_combine_alpha_ext alphaComb;
struct tdfx_combine_color_ext colorComb;
- GLfloat *envColor = texUnit->EnvColor;
+ const GLfloat *envColor = texUnit->EnvColor;
GrCombineLocal_t localc, locala; /* fragmentColor/Alpha */
GLint ifmt;
tfxTexInfo *ti;
@@ -378,6 +378,9 @@ fxSetupTextureEnvNapalm_NoLock(GLcontext * ctx, GLuint textureset, GLuint tmu, G
break;
/* COMBINE_EXT */
case GL_COMBINE_EXT:
+ /* [dBorca] Hack alert:
+ * INCOMPLETE!!!
+ */
if (TDFX_DEBUG & (VERBOSE_DRIVER | VERBOSE_TEXTURE)) {
fprintf(stderr, "COMBINE_EXT: %s + %s\n",
_mesa_lookup_enum_by_nr(texUnit->CombineModeRGB),