summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-03-04 11:32:40 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-03-04 11:34:34 +0800
commit2a043defac9fe86a23c84c0fb65f93e2b570f898 (patch)
tree249d1eb1ba202098098cd85a7ff8e2ba1ae1fd91
parent8550c7f01e0ebe1f0dec5dcee4ce7fafbe73da95 (diff)
Replace st_context_iface::api by st_context_iface::st_manager_private.
Give the manager a chance to map a st_context_iface to manager's own context. Rename st_api_private to st_context_private.
-rw-r--r--st_api.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/st_api.h b/st_api.h
index 3b35030..4d7034e 100644
--- a/st_api.h
+++ b/st_api.h
@@ -229,14 +229,10 @@ struct st_framebuffer_iface
struct st_context_iface
{
/**
- * The API of the context.
+ * Available for the state tracker and the manager to use.
*/
- enum st_api_type api;
-
- /**
- * Available for the state tracker to use.
- */
- void *st_api_private;
+ void *st_context_private;
+ void *st_manager_private;
/**
* Destroy the context.