| Summary: | SDL_WINDOW_ALLOW_HIGHDPI flag is not unset on failure | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Caleb Cornett <spydog> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72, sezeroz |
| Version: | 2.0.9 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS X (All) | ||
|
Description
Caleb Cornett
2018-11-09 02:58:31 UTC
As the flag's name implies, it just makes SDL windows capable of being high-dpi, it isn't really meant to fail to create the window if it isn't high dpi - you can use SDL_GL_GetDrawableSize (if you're using OpenGL directly), or SDL_GetRendererOutputSize (if you're using SDL_Render) and compare that to SDL_GetWindowSize, to determine if the window is currently high dpi. |