mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-08 15:35:50 +01:00
Updated Multi Viewports (markdown)
parent
8853485dee
commit
1e55501488
@ -23,7 +23,7 @@ If you are using platform and renderer back-ends from the `backends/` folder, th
|
||||
- Add to your configuration flags:
|
||||
|
||||
```cpp
|
||||
ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
||||
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
||||
```
|
||||
|
||||
- Add in your main loop, after rendering your main viewport:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user