summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_cache.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-10-03 16:46:48 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-10-03 16:50:26 +0100
commitd63a36ef3a4dd9cef1273fac5949e587c42813b5 (patch)
tree09afeed5c3997a73e89528a6076330ac3a87197f /src/mesa/shader/prog_cache.h
parentfa1b533012030cd67148b5bf1e018fd5e30c96f8 (diff)
Mesa: short-circuit case when looking up the same program twice in cache
Diffstat (limited to 'src/mesa/shader/prog_cache.h')
-rw-r--r--src/mesa/shader/prog_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_cache.h b/src/mesa/shader/prog_cache.h
index a8c91fba01..4e1ccac03f 100644
--- a/src/mesa/shader/prog_cache.h
+++ b/src/mesa/shader/prog_cache.h
@@ -42,7 +42,7 @@ _mesa_delete_program_cache(GLcontext *ctx, struct gl_program_cache *pc);
extern struct gl_program *
-_mesa_search_program_cache(const struct gl_program_cache *cache,
+_mesa_search_program_cache(struct gl_program_cache *cache,
const void *key, GLuint keysize);
extern void