JBR-9457 Vulkan: Enable accelerated surfaces by default

This commit is contained in:
Nikita Gubarkov
2025-10-08 16:39:39 +02:00
parent bd3cea2635
commit 4c3ca7953e

View File

@@ -48,7 +48,7 @@ public final class VKEnv {
@SuppressWarnings("removal")
private static final boolean accelsd = vulkan && "true".equalsIgnoreCase(AccessController.doPrivileged(
(PrivilegedAction<String>) () -> System.getProperty("sun.java2d.vulkan.accelsd", "")));
(PrivilegedAction<String>) () -> System.getProperty("sun.java2d.vulkan.accelsd", "true")));
@SuppressWarnings("removal")
private static final int deviceNumber = !vulkan ? 0 : AccessController.doPrivileged(