Example: GLFW+Metal: fix.

This commit is contained in:
ocornut
2026-08-06 22:39:40 +02:00
parent de4a2990a2
commit 9c473a34ce
2 changed files with 3 additions and 1 deletions

View File

@@ -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.
-----------------------------------------------------------------------

View File

@@ -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