summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-25 14:35:05 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-25 14:35:05 +0800
commit5e552fd45b832485117e03ce18e84ab16f622b11 (patch)
treec888b2886349f28a5347e7dc1d3a53e0f2920f27
parent7592d8c4f671931209d65eb2abd67761e4ced54a (diff)
Add st_api_private to st_context.
Similiar to st_framebuffer, we do not want to force the state tracker to inherit st_context.
-rw-r--r--st_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/st_api.h b/st_api.h
index 81c03ae..4f0e9bc 100644
--- a/st_api.h
+++ b/st_api.h
@@ -249,6 +249,11 @@ struct st_context
unsigned mask);
void (*destroy)(struct st_context *stctx);
+
+ /**
+ * Available for the state tracker to use.
+ */
+ void *st_api_private;
};
/**