Skip to content

Commit 221e454

Browse files
Update engine/src/main/java/org/terasology/engine/core/subsystem/lwjgl/LwjglGraphics.java
Co-authored-by: BenjaminAmos <[email protected]>
1 parent d8de459 commit 221e454

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/src/main/java/org/terasology/engine/core/subsystem/lwjgl/LwjglGraphics.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public void postInitialise(Context rootContext) {
143143
GLFW.glfwWindowHint(GLFW.GLFW_COCOA_GRAPHICS_SWITCHING, GLFW.GLFW_TRUE);
144144
GLFW.glfwWindowHint(GLFW.GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW.GLFW_FALSE);
145145
GLFW.glfwWindowHint(GLFW.GLFW_DEPTH_BITS, config.getPixelFormat());
146+
GLFW.glfwWindowHint(GLFW.GLFW_CLIENT_API, GLFW.GLFW_NO_API);
146147
if (config.getDebug().isEnabled()) {
147148
GLFW.glfwWindowHint(GLFW.GLFW_OPENGL_DEBUG_CONTEXT, GLFW.GLFW_TRUE);
148149
}

0 commit comments

Comments
 (0)