diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-17 09:44:47 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-01-17 09:44:47 +0800 |
commit | 79bbeb3a10f9df0afed5f360e984acffeebf7fb6 (patch) | |
tree | 39411cd1308d994005f6cd5325efa56614bfeb0c | |
parent | 21e0c5fc4216e4e690cbdf94ed4d09b2798efd71 (diff) |
Update the resource lock/unlock prototypes.
Forgot to change the types when they are moved to st_context.
-rw-r--r-- | st_api.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |