-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
SDL2 backend does not build on UWP #8008
Comments
Could you provide a PR for it? (if adequate, over docking branch with 1 commit for master 1 commit for docking if needed) |
Pushed a fix d7cedd6 |
Sorry, i did not manage to get to this in time. Thanks for the fix :) |
Note that I used the same logic as main lib was using: |
Version/Branch of Dear ImGui:
Version 1.91, Branch: docking
Back-ends:
imgui_impl_sdl2.cpp
Compiler, OS:
MSVC
Full config/build information:
No response
Details:
SDL2 backend uses
GetWindowLong
/SetWindowLong
/ShowWindow
windows API, which are not allowed with UWP and the build fails. It would make sense to disable code using these APIs on UWP. You can check presence of UWP build like so:Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: