mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Wrong call for create_offscreen_gl
We need to use `CallVoidMethod` instead of `CallBooleanMethod` to call `create_offscreen_gl`.
This commit is contained in:
@@ -144,7 +144,7 @@ bool GodotJavaWrapper::create_offscreen_gl(JNIEnv *p_env) {
|
||||
|
||||
void GodotJavaWrapper::destroy_offscreen_gl(JNIEnv *p_env) {
|
||||
if (_destroy_offscreen_gl) {
|
||||
p_env->CallBooleanMethod(godot_instance, _destroy_offscreen_gl);
|
||||
p_env->CallVoidMethod(godot_instance, _destroy_offscreen_gl);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user