Small set of fixes to the input logic

This commit is contained in:
Fredia Huya-Kouadio
2022-10-20 12:00:34 -07:00
parent b61fda9d2a
commit 5f4a3e57de
4 changed files with 32 additions and 38 deletions

View File

@ -68,7 +68,7 @@ void GodotJavaViewWrapper::request_pointer_capture() {
}
void GodotJavaViewWrapper::release_pointer_capture() {
if (_request_pointer_capture != nullptr) {
if (_release_pointer_capture != nullptr) {
JNIEnv *env = get_jni_env();
ERR_FAIL_NULL(env);