summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-17 09:44:47 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-17 09:44:47 +0800
commit79bbeb3a10f9df0afed5f360e984acffeebf7fb6 (patch)
tree39411cd1308d994005f6cd5325efa56614bfeb0c
parent21e0c5fc4216e4e690cbdf94ed4d09b2798efd71 (diff)
Update the resource lock/unlock prototypes.
Forgot to change the types when they are moved to st_context.
-rw-r--r--st_api.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/st_api.h b/st_api.h
index 1c1fc11..f7fa9d8 100644
--- a/st_api.h
+++ b/st_api.h
@@ -221,10 +221,10 @@ struct st_context
* This gives access to the underlying data structure of a state tracker
* context resource.
*/
- boolean (*lock_resource)(const struct st_manager_api *api,
- struct st_manager_resource *res);
- void (*unlock_resource)(const struct st_manager_api *api,
- const struct st_manager_resource *res);
+ boolean (*lock_resource)(struct st_context *ctx,
+ struct st_context_resource *res);
+ void (*unlock_resource)(struct st_context *ctx,
+ const struct st_context_resource *res);
/**
* Invalidate the current textures that was taken from a framebuffer.