diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-05-23 01:55:31 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-05-23 01:55:31 +0000 |
commit | b8f2f6fee147f423438ef7044984b1d7cfb5a428 (patch) | |
tree | a403b09c9d73f59a4f861f1939b3c618015900cd /src/mesa/main | |
parent | acc9566b86fea90f588937aa6786448cec956f4d (diff) | |
download | external_mesa3d-b8f2f6fee147f423438ef7044984b1d7cfb5a428.zip external_mesa3d-b8f2f6fee147f423438ef7044984b1d7cfb5a428.tar.gz external_mesa3d-b8f2f6fee147f423438ef7044984b1d7cfb5a428.tar.bz2 |
In cache_item(), there was sizeof(void) expression.
Replace void *key parameter with const struct state_key *
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 0cbbf58..5b2eb2e 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -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)); |