summaryrefslogtreecommitdiff
path: root/rsContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rsContext.cpp')
-rw-r--r--rsContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsContext.cpp b/rsContext.cpp
index 20fa3672..0ca892d7 100644
--- a/rsContext.cpp
+++ b/rsContext.cpp
@@ -705,9 +705,9 @@ void rsi_ContextBindFont(Context *rsc, RsFont vfont) {
rsc->setFont(font);
}
-void rsi_AssignName(Context *rsc, void * obj, const char *name, uint32_t len) {
+void rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, uint32_t name_length) {
ObjectBase *ob = static_cast<ObjectBase *>(obj);
- rsc->assignName(ob, name, len);
+ rsc->assignName(ob, name, name_length);
}
void rsi_ObjDestroy(Context *rsc, void *optr) {
@@ -724,7 +724,7 @@ void rsi_ContextResume(Context *rsc) {
rsc->resume();
}
-void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur) {
+void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur, size_t sur_length) {
rsc->setSurface(w, h, sur);
}