Skip to content

iOS: SDL_SetRenderLogicalPresentation(..., SDL_LOGICAL_PRESENTATION_OVERSCAN, ...) behaves like LETTERBOX (adds bars) instead of overscan #13944

Description

@corentin35000

On iOS, setting the logical presentation to OVERSCAN renders exactly like LETTERBOX (content is letterboxed with bars), while on all other tested platforms OVERSCAN correctly fills the screen (cropping outside the logical area as expected).
Platforms where OVERSCAN works as expected: Windows, Linux, macOS, Android, SteamOS (Steam Deck), Steam Linux.
On iOS, LETTERBOX works as expected, but OVERSCAN does not.

Expected behavior
With SDL_LOGICAL_PRESENTATION_OVERSCAN, the content should be scaled to fill the output, cropping anything outside the logical size. There should be no black bars.

Actual behavior
On iOS only, using SDL_LOGICAL_PRESENTATION_OVERSCAN produces the same result as SDL_LOGICAL_PRESENTATION_LETTERBOX (black bars appear / content is not cropped to fill).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions