mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 11:17:05 -04:00
Always create a debug context of OpenGL.
This commit is contained in:
parent
775dcc85fc
commit
f0d8e8e6bf
@ -618,9 +618,7 @@ pub const Window = struct {
|
||||
@panic("Failed to initialize GLFW");
|
||||
}
|
||||
|
||||
if(@import("builtin").mode == .Debug) {
|
||||
c.glfwWindowHint(c.GLFW_OPENGL_DEBUG_CONTEXT, 1);
|
||||
}
|
||||
c.glfwWindowHint(c.GLFW_OPENGL_DEBUG_CONTEXT, 1);
|
||||
c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MAJOR, 4);
|
||||
c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MINOR, 6);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user