| Summary: | SDL_GetDisplayBounds() does not take into account iOS device orientation | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vern Jensen <vern> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | iOS 4 | ||
|
Description
Vern Jensen
2012-01-19 14:05:58 UTC
Hey Ryan, can you look at this when you dig into the retina display support? Addtionally, it does not return the proper size on a Retina display. (It still returns 480x320, instead of 960x640.) (Again, by contrast, SDL_GetDisplayMode DOES return the proper size for retina display. So my workaround will be calling *this* and returning the appropriate value depending on current orientation.) |