Skip to content

Commit 1bfa5d6

Browse files
committed
Enable docking by default
1 parent b353e11 commit 1bfa5d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NeuralGraphicsGL.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ function Context(
204204
glfw_ctx = CImGui.ImGuiGLFWBackend.create_context(window)
205205
gl_ctx = CImGui.ImGuiOpenGLBackend.create_context(GLSL_VERSION)
206206

207+
io = CImGui.GetIO()
208+
io.ConfigFlags = unsafe_load(io.ConfigFlags) | CImGui.ImGuiConfigFlags_DockingEnable
209+
207210
CImGui.ImGuiGLFWBackend.init(glfw_ctx)
208211
CImGui.ImGuiOpenGLBackend.init(gl_ctx)
209212
Context(window, imgui_ctx, glfw_ctx, gl_ctx, width, height)

0 commit comments

Comments
 (0)