Merge pull request #56707 from godotengine/java_void_method_fix
Wrong call for create_offscreen_gl
This commit is contained in:
commit
8f09deae13
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue