Skip to content

Commit

Permalink
Merge pull request #56707 from godotengine/java_void_method_fix
Browse files Browse the repository at this point in the history
Wrong call for create_offscreen_gl
  • Loading branch information
akien-mga authored Jan 12, 2022
2 parents 419e883 + 4df4d72 commit 8f09dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/android/java_godot_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 8f09dea

Please sign in to comment.