-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd Resize Behavior of example_win32_directx12 #5274
Comments
The stretching is "normal", that's just a change in behavior between DirectX 11 and DirectX 12 when the size of the swap chain doesn't match the window. The lagging is definitely not ideal though and does not happen on my machine. The only thing happening in Are your graphics drivers up-to-date? In Visual Studio, if you go to Debug > Windows > Modules do you see any DLL's that aren't from |
This is a frequently asked thing but unfortunately it's not related to Dear ImGui it's an app thing and is the default behavior on Windows (resizing or moving a Windows window is BLOCKING the app by default). Searching for WM_SIZE or WM_TIMER yield other of the same topics, including #4516 #3672 #3498 #5061 You can probably find workarounds on stackoverflow or elsewhere. We may want to try to make our examples handle that nicely, would be open to PR but only if it didn't make the examples too complex or extra noisy. I haven't tried yet. Perhaps an alternative solution if the solution is too noisy would be to leave comments giving some pointers or a link about how to solve it. It would be interesting to know what the lagging is and if there's any way the examples and/or backend code could mitigate it. |
Greetings Kind Regards Thank You for providing ImGui Upon download today of latest version and build and run project "example_win32_directx12" its behavior upon resize is odd as demonstrated in attached GIF. The DirectX version on my system is !2. The other "example_win32_directxXX" do not exhibit this odd behavior. - Cheerio
Microsoft Windows 10 Home (x64) Build 19044.1645 (21H2)
The text was updated successfully, but these errors were encountered: