From e6952352775984f3fed89089ee32f146e4799015 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 22 Jul 2024 13:40:21 +0200 Subject: [PATCH] Make OpenGL compatibility test window invisible --- .../sosengine/graphics/opengl/OpenGlSubsystem.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java index 691b480..4301de5 100644 --- a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java +++ b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java @@ -162,12 +162,13 @@ public final class OpenGlSubsystem implements ApiMainClass { @Override public boolean isCompatible() { // Set required version and profile + glfwWindowHint(GLFW_VISIBLE, 0); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); // Create test window - long window = glfwCreateWindow(0, 0, "sos!engine OpenGL API compatibility test", MemoryUtil.NULL, MemoryUtil.NULL); + long window = glfwCreateWindow(0, 0, "sos!engine OpenGL Graphics API compatibility test", MemoryUtil.NULL, MemoryUtil.NULL); boolean failed = window == MemoryUtil.NULL; // Destroy window