mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-20 22:31:16 +00:00
Example: GLFW+Metal: fix.
This commit is contained in:
@@ -72,6 +72,8 @@ Docking+Viewports Branch:
|
||||
|
||||
- Backends:
|
||||
- Metal: fixed resizing windows losing framebuffer scale. (#6828, #8856) [@laikoken]
|
||||
- Examples:
|
||||
- SDL3+Metal, GLFW+Metal: fix multi-viewport support.
|
||||
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
@@ -69,7 +69,7 @@ int main(int, char**)
|
||||
id <MTLCommandQueue> commandQueue = [device newCommandQueue];
|
||||
|
||||
// Setup Platform/Renderer backends
|
||||
ImGui_ImplGlfw_InitForOpenGL(window, true);
|
||||
ImGui_ImplGlfw_InitForOther(window, true);
|
||||
ImGui_ImplMetal_Init(device);
|
||||
|
||||
// Load Fonts
|
||||
|
||||
Reference in New Issue
Block a user