mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Added PixelCenterOffset for OpenGL/DirectX compatibility.
This commit is contained in:
parent
680a5a9b54
commit
8ab2942716
4 changed files with 10 additions and 4 deletions
|
|
@ -293,6 +293,7 @@ void InitImGui()
|
|||
io.KeyMap[ImGuiKey_X] = 'X';
|
||||
io.KeyMap[ImGuiKey_Y] = 'Y';
|
||||
io.KeyMap[ImGuiKey_Z] = 'Z';
|
||||
io.PixelCenterOffset = 0.0f;
|
||||
|
||||
io.RenderDrawListsFn = ImImpl_RenderDrawLists;
|
||||
io.SetClipboardTextFn = ImImpl_SetClipboardTextFn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue