summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_cache.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:51:00 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 09:18:57 -0500
commit26f8fad1456fdc2b352cea9d3b4c32cb5f6ae947 (patch)
treeafc0b9a4ef89c348fe9ea4b3a3ef5a77f627c496 /src/mesa/shader/prog_cache.c
parentc7ac486261ad30ef654f6d0b1608da4e8483cd40 (diff)
Remove _mesa_memset in favor of plain memset.
This may break the SUNOS4 build, but it's no longer relevant.
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) {