mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 05:07:12 +01:00
Fix android build.
This commit is contained in:
parent
79c193aabb
commit
08ee0b9406
@ -137,7 +137,7 @@ int PandemoniumIOJavaWrapper::get_screen_dpi() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
float GodotIOJavaWrapper::get_scaled_density() {
|
float PandemoniumIOJavaWrapper::get_scaled_density() {
|
||||||
if (_get_scaled_density) {
|
if (_get_scaled_density) {
|
||||||
JNIEnv *env = get_jni_env();
|
JNIEnv *env = get_jni_env();
|
||||||
ERR_FAIL_COND_V(env == nullptr, 1.0f);
|
ERR_FAIL_COND_V(env == nullptr, 1.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user