From c499ce31baf820e84d133c2189f88e15a1a36672 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Feb 2001 16:42:25 +0000 Subject: Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture. Added some const keywords in the s/w texturing code. --- src/mesa/main/texobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/texobj.c') diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 95427855fb..b227a96192 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1,4 +1,4 @@ -/* $Id: texobj.c,v 1.39 2001/02/17 18:41:01 brianp Exp $ */ +/* $Id: texobj.c,v 1.40 2001/02/20 16:42:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -81,6 +81,7 @@ _mesa_alloc_texture_object( struct gl_shared_state *shared, obj->MaxLevel = 1000; obj->CompareFlag = GL_FALSE; obj->CompareOperator = GL_TEXTURE_LEQUAL_R_SGIX; + obj->ShadowAmbient = 0; _mesa_init_colortable(&obj->Palette); /* insert into linked list */ -- cgit v1.2.3