summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2006-05-22 16:09:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2006-05-22 16:09:27 +0000
commit8065c120c45e89e49ca9f707408fd7bd14db6b23 (patch)
tree039f2a73a8a44261fa4cf1393079406b2fb33790 /src/mesa/main/mtypes.h
parent64da16146fed68605f83ccf3b64075c0d5b6f052 (diff)
memory usage fixes for glean/conform, use a better hash function
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 1bafaf3485..91c1797f1e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1517,13 +1517,14 @@ struct gl_texture_unit
struct texenvprog_cache_item {
GLuint hash;
void *key;
- void *data;
+ struct fragment_program *data;
struct texenvprog_cache_item *next;
};
struct texenvprog_cache {
struct texenvprog_cache_item **items;
GLuint size, n_items;
+ GLcontext *ctx;
};
/**