You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00: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