mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Rename CURRENT_ARCH into DEVICE_ARCH
This commit is contained in:
parent
8d2843889b
commit
42e07ea04e
5 changed files with 9 additions and 9 deletions
|
|
@ -765,7 +765,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
}
|
||||
|
||||
private void checkVulkanZinkIsSupported() {
|
||||
if (Tools.CURRENT_ARCHITECTURE == ARCH_X86
|
||||
if (Tools.DEVICE_ARCHITECTURE == ARCH_X86
|
||||
|| Build.VERSION.SDK_INT < 25
|
||||
|| !getPackageManager().hasSystemFeature(PackageManager.FEATURE_VULKAN_HARDWARE_LEVEL)
|
||||
|| !getPackageManager().hasSystemFeature(PackageManager.FEATURE_VULKAN_HARDWARE_VERSION)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue