fix mv options check

This commit is contained in:
Vladimir Kharitonov
2025-12-03 13:57:08 +01:00
parent a730a43234
commit 9b43b01963

View File

@@ -50,9 +50,9 @@ public class SharedTexturesTest {
SharedTextures sharedTextures = new SharedTexturesService();
int textureType = sharedTextures.getTextureType(gc);
if ("True".equals(System.getProperty("sun.java2d.opengl"))) {
if ("true".equals(System.getProperty("sun.java2d.opengl"))) {
Asserts.assertEquals(textureType, SharedTextures.OPENGL_TEXTURE_TYPE, "Expected OpenGL texture type");
} else if ("True".equals(System.getProperty("sun.java2d.metal"))) {
} else if ("true".equals(System.getProperty("sun.java2d.metal"))) {
Asserts.assertEquals(textureType, SharedTextures.METAL_TEXTURE_TYPE, "Expected Metal texture type");
} else {
throw new RuntimeException("The rendering pipeline has to be specified explicitly");