diff options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.zig b/src/main.zig index 79dab91..f3d342a 100644 --- a/src/main.zig +++ b/src/main.zig @@ -22,7 +22,7 @@ pub fn main() !void { c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MAJOR, 3); c.glfwWindowHint(c.GLFW_CONTEXT_VERSION_MINOR, 2); - c.glfwWindowHint(c.GLFW_OPENGL_FORWARD_COMPAT, c.GL_TRUE); + c.glfwWindowHint(c.GLFW_OPENGL_FORWARD_COMPAT, c.GLFW_TRUE); c.glfwWindowHint(c.GLFW_OPENGL_DEBUG_CONTEXT, debug_gl.is_on); c.glfwWindowHint(c.GLFW_OPENGL_PROFILE, c.GLFW_OPENGL_CORE_PROFILE); // c.glfwWindowHint(c.GLFW_DEPTH_BITS, 0); @@ -44,13 +44,13 @@ pub fn main() !void { const io = c.igGetIO(); io.*.ConfigFlags |= @enumToInt(c.ImGuiConfigFlags_NavEnableKeyboard); - // io.*.ConfigFlags |= @enumToInt(c.ImGuiConfigFlags_DockingEnable); - // io.*.ConfigFlags |= @enumToInt(c.ImGuiConfigFlags_ViewportsEnable); + io.*.ConfigFlags |= @enumToInt(c.ImGuiConfigFlags_DockingEnable); + io.*.ConfigFlags |= @enumToInt(c.ImGuiConfigFlags_ViewportsEnable); const style = c.igGetStyle(); c.igStyleColorsDark(style); - if (false and io.*.ConfigFlags & @enumToInt(c.ImGuiConfigFlags_ViewportsEnable) != 0) { + if (io.*.ConfigFlags & @enumToInt(c.ImGuiConfigFlags_ViewportsEnable) != 0) { style.*.WindowRounding = 0.0; style.*.Colors[@enumToInt(c.ImGuiCol_WindowBg)].w = 1.0; } |
