fix default compare mode
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2003 18:10:10 +0000 (18:10 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2003 18:10:10 +0000 (18:10 +0000)
src/mesa/main/texobj.c

index 864752b6d98581d1c2db4c04cfdc02a5c7021d3c..68d9845bbf36147e13a8fd2e45fce23a09b84dd6 100644 (file)
@@ -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 */