mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-23 18:19:40 +00:00
Fix builed error after commit 0e45b824e3
due to -Wunused-variable
This commit is contained in:
parent
0e45b824e3
commit
5f304b3a47
@ -2699,8 +2699,6 @@ bool SDL_GetRenderLogicalPresentationRect(SDL_Renderer *renderer, SDL_FRect *rec
|
|||||||
|
|
||||||
if (rect) {
|
if (rect) {
|
||||||
if (renderer->logical_presentation_mode == SDL_LOGICAL_PRESENTATION_DISABLED) {
|
if (renderer->logical_presentation_mode == SDL_LOGICAL_PRESENTATION_DISABLED) {
|
||||||
int output_w = 0, output_h = 0;
|
|
||||||
|
|
||||||
rect->x = 0.0f;
|
rect->x = 0.0f;
|
||||||
rect->y = 0.0f;
|
rect->y = 0.0f;
|
||||||
rect->w = (float)renderer->output_pixel_w;
|
rect->w = (float)renderer->output_pixel_w;
|
||||||
|
Loading…
Reference in New Issue
Block a user