Skip to content
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

Landscape mode in Ios Device #1224

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Landscape mode in Ios Device #1224

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
worksforme We can't reproduce the bug

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.1
Reported for operating system, platform: iOS (All), iPhone/iPod touch

Comments on the original bug report:

On 2013-11-18 07:35:15 +0000, Sylvain wrote:

Created attachment 1450
screen shot (ipad?) from Apple

Maybe duplicate of https://bugzilla.libsdl.org/show_bug.cgi?id=2247

Most of the times, it works correctly.

Sometimes, the application starts in portrait whereas it expects to be in landscape.

see screenshot (reported by Apple). but it appeared also once with an iPod4 touch.

My app always draw the same. but to get this "picture" (See attached file),
it means it expects to draw to a renderer with : width=2048 x height=1536
but, the renderer size is width=1536 x height=2048.

So : there are missing card columns, there expand outside the right of screen.
In the middle, close to "00 : 00 : 00" there are the 5 card, that I usally draw half outside of the screen. but we saw them !)

Look also the background, it is correctly drawn (not outside, the light is in the middle) because I use "rect_src" and "rect_dst" as NULL in the SDL_RenderCopy function.

I use the latest. IOS7 SDK. but I already saw this before a few times.

On 2016-03-19 12:04:45 +0000, Alex Szpakowski wrote:

There have been a ton of orientation and rotation-related fixes for SDL on iOS in the past couple years. I believe this issue doesn't happen anymore, if I'm wrong then definitely reopen the bug report :)

On 2016-03-19 12:11:42 +0000, Sylvain wrote:

Yes, it seems obsolete. I haven't heard any issue from apple since I reported it. Thanks for closing it!

@SDLBugzilla SDLBugzilla added bug worksforme We can't reproduce the bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme We can't reproduce the bug
Projects
None yet
Development

No branches or pull requests

1 participant