summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:10:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-01 18:10:56 +0000
commite3611cdb62bda2a262294bedfb94dad3ecbd2fb8 (patch)
treeab30ff767b5a2ae2a4c4d7db13c3a4174b9eee4d
parent69d1517a310215f3d441f62f28c870ca836a3534 (diff)
fix default compare mode
-rw-r--r--src/mesa/main/texobj.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index ee5a68b131..22042579e8 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -1,8 +1,6 @@
-/* $Id: texobj.c,v 1.62.2.3 2003/03/10 00:29:17 brianp Exp $ */
-
/*
* Mesa 3-D graphics library
- * Version: 5.0.1
+ * Version: 5.0.2
*
* Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
@@ -90,7 +88,7 @@ _mesa_alloc_texture_object( struct gl_shared_state *shared,
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 */