diff --git a/imgui-core/src/main/kotlin/imgui/internal/draw.kt b/imgui-core/src/main/kotlin/imgui/internal/draw.kt index 0c53ee437..1f86ea77f 100644 --- a/imgui-core/src/main/kotlin/imgui/internal/draw.kt +++ b/imgui-core/src/main/kotlin/imgui/internal/draw.kt @@ -343,11 +343,12 @@ class DrawData { val ret = DrawData() ret.cmdLists.addAll(cmdLists) // TODO check if it's fine https://github.com/kotlin-graphics/imgui/pull/135 - ret.displayPos = displayPos - ret.displaySize = displaySize + ret.displayPos put displayPos + ret.displaySize put displaySize ret.totalIdxCount = totalIdxCount ret.totalVtxCount = totalVtxCount ret.valid = valid + ret.framebufferScale put framebufferScale return ret }