glfw: disable depth and stencil for default framebuffer

Seems to do nothing.
This commit is contained in:
Moritz Zwerger 2023-11-26 00:47:50 +01:00
parent 582a6e924a
commit b36e8f7f6a
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -190,6 +190,8 @@ class GLFWWindow(
setOpenGLVersion(3, 3, true)
}
glfwWindowHint(GLFW_VISIBLE, false.glfw)
glfwWindowHint(GLFW_DEPTH_BITS, 0)
glfwWindowHint(GLFW_STENCIL_BITS, 0)
window = glfwCreateWindow(size.x, size.y, RunConfiguration.APPLICATION_NAME, MemoryUtil.NULL, MemoryUtil.NULL)