summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:10:10 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:10:10 +0000
commitf0805670a1b8e624c6f9a468a14c4bfbca446d1c (patch)
tree408c0aee1b10e3d0010436509d3206edb0a5ad59 /src/mesa/main
parent6fafc7ad19a8b7400e57a86b588766b6f3811a05 (diff)
fix default compare mode
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 864752b6d9..68d9845bbf 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -1,4 +1,4 @@
-/* $Id: texobj.c,v 1.67 2003/04/01 16:41:55 brianp Exp $ */
+/* $Id: texobj.c,v 1.68 2003/04/01 18:10:10 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -101,7 +101,7 @@ _mesa_initialize_texture_object( struct gl_texture_object *obj,
obj->MaxAnisotropy = 1.0;
obj->CompareFlag = GL_FALSE; /* SGIX_shadow */
obj->CompareOperator = GL_TEXTURE_LEQUAL_R_SGIX; /* SGIX_shadow */
- obj->CompareMode = GL_LUMINANCE; /* ARB_shadow */
+ obj->CompareMode = GL_NONE; /* ARB_shadow */
obj->CompareFunc = GL_LEQUAL; /* ARB_shadow */
obj->DepthMode = GL_LUMINANCE; /* ARB_depth_texture */
obj->ShadowAmbient = 0.0F; /* ARB/SGIX_shadow_ambient */