Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.

Added some const keywords in the s/w texturing code.
This commit is contained in:
Brian Paul
2001-02-20 16:42:25 +00:00
parent 0c75c4c417
commit c499ce31ba
11 changed files with 169 additions and 98 deletions

View File

@@ -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 */