summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/prog_cache.c')
-rw-r--r--src/mesa/shader/prog_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_cache.c b/src/mesa/shader/prog_cache.c
index 9437e596138..8e54f3a5a03 100644
--- a/src/mesa/shader/prog_cache.c
+++ b/src/mesa/shader/prog_cache.c
@@ -88,7 +88,7 @@ rehash(struct gl_program_cache *cache)
size = cache->size * 3;
items = (struct cache_item**) _mesa_malloc(size * sizeof(*items));
- _mesa_memset(items, 0, size * sizeof(*items));
+ memset(items, 0, size * sizeof(*items));
for (i = 0; i < cache->size; i++)
for (c = cache->items[i]; c; c = next) {