summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 0cbbf58a5d8..5b2eb2eb52f 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));