In cache_item(), there was sizeof(void) expression.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 23 May 2006 01:55:31 +0000 (01:55 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 23 May 2006 01:55:31 +0000 (01:55 +0000)
Replace void *key parameter with const struct state_key *

src/mesa/main/texenvprogram.c

index 0cbbf58a5d86e7abe69746987994e1c043f6040a..5b2eb2eb52f3295da77b6ae617c769fca3afc374 100644 (file)
@@ -1162,7 +1162,7 @@ static void clear_cache( struct texenvprog_cache *cache )
 
 static void cache_item( struct texenvprog_cache *cache,
                        GLuint hash,
-                       void *key,
+                       const struct state_key *key,
                        void *data )
 {
    struct texenvprog_cache_item *c = MALLOC(sizeof(*c));