mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 01:19:28 +01:00
fix mv options check
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user