Merge pull request #56707 from godotengine/java_void_method_fix

Wrong call for create_offscreen_gl
This commit is contained in:
Rémi Verschelde 2022-01-12 08:39:47 +01:00 committed by GitHub
commit 8f09deae13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}