summaryrefslogtreecommitdiff
path: root/st_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'st_api.h')
-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.