diff options
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r-- | backends/platform/android/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index eb5a66c6d9..2b730385e6 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -63,7 +63,7 @@ void OSystem_Android::setupScummVMSurface() { ENTER(); JNIEnv *env = JNU_GetEnv(); - env->CallVoidMethod(_back_ptr, MID_setupScummVMSurface); + env->CallVoidMethod(back_ptr, MID_setupScummVMSurface); if (env->ExceptionCheck()) return; @@ -117,7 +117,7 @@ void OSystem_Android::setupScummVMSurface() { void OSystem_Android::destroyScummVMSurface() { JNIEnv *env = JNU_GetEnv(); - env->CallVoidMethod(_back_ptr, MID_destroyScummVMSurface); + env->CallVoidMethod(back_ptr, MID_destroyScummVMSurface); // Can't use OpenGLES functions after this } @@ -262,7 +262,7 @@ void OSystem_Android::updateScreen() { GLCALL(glPopMatrix()); JNIEnv *env = JNU_GetEnv(); - if (!env->CallBooleanMethod(_back_ptr, MID_swapBuffers)) { + if (!env->CallBooleanMethod(back_ptr, MID_swapBuffers)) { // Context lost -> need to reinit GL destroyScummVMSurface(); setupScummVMSurface(); |