Skip to content

Conversation

@mardy
Copy link
Collaborator

@mardy mardy commented Jan 19, 2024

The scale_x and scale_y parameters to QueueGeometry need to be applied to the geometry coordinates. Without this, the SDL_RenderSetLogicalSize() would not properly work on the renderer.

Note that a similar scale does not need to be applied by the backend in the other draw functions (line, fill, copyrect), because the coordinates are already scaled then.

The `scale_x` and `scale_y` parameters to QueueGeometry need to be
applied to the geometry coordinates. Without this, the
SDL_RenderSetLogicalSize() would not properly work on the renderer.

Note that a similar scale does not need to be applied by the backend in
the other draw functions (line, fill, copyrect), because the coordinates
are already scaled then.
@WinterMute WinterMute merged commit 578c01b into devkitPro:ogc-sdl-2.28 Jan 20, 2024
WinterMute pushed a commit that referenced this pull request Oct 27, 2024
The `scale_x` and `scale_y` parameters to QueueGeometry need to be
applied to the geometry coordinates. Without this, the
SDL_RenderSetLogicalSize() would not properly work on the renderer.

Note that a similar scale does not need to be applied by the backend in
the other draw functions (line, fill, copyrect), because the coordinates
are already scaled then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants