1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Downgrade the vulkan abort logic to a warning

This addresses issues where some drivers are reporting they don't meet the vulkan hardware level 1 support requirements even though they render as expected when the check is removed.
This commit is contained in:
Fredia Huya-Kouadio
2023-02-06 17:04:29 -08:00
parent cd0f1e9b10
commit 9d83e807e7
3 changed files with 4 additions and 5 deletions

View File

@@ -83,6 +83,7 @@ import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.CallSuper;
import androidx.annotation.Keep;
@@ -277,9 +278,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
if (usesVulkan()) {
if (!meetsVulkanRequirements(activity.getPackageManager())) {
Log.e(TAG, "Missing requirements for vulkan support! Aborting...");
alert(R.string.error_missing_vulkan_requirements_message, R.string.text_error_title, this::forceQuit);
return false;
Log.w(TAG, "Missing requirements for vulkan support!");
}
mRenderView = new GodotVulkanRenderView(activity, this);
} else {