summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r--src/mesa/tnl/t_context.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 08fb96b6a4..f7a29f9e7e 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -614,12 +614,16 @@ struct tnl_clipspace
};
-
-struct tnl_cache {
+struct tnl_cache_item {
GLuint hash;
void *key;
void *data;
- struct tnl_cache *next;
+ struct tnl_cache_item *next;
+};
+
+struct tnl_cache {
+ struct tnl_cache_item **items;
+ GLuint size, n_items;
};