Fix builed error after commit 0e45b824e3 due to -Wunused-variable
This commit is contained in:
1 parent
0e45b824e3
commit
5f304b3a47
1 file changed
-2
@@ -2699,8 +2699,6 @@ bool SDL_GetRenderLogicalPresentationRect(SDL_Renderer *renderer, SDL_FRect *rec
|
||||
|
||||
if (rect) {
|
||||
if (renderer->logical_presentation_mode == SDL_LOGICAL_PRESENTATION_DISABLED) {
|
||||
int output_w = 0, output_h = 0;
|
||||
|
||||
rect->x = 0.0f;
|
||||
rect->y = 0.0f;
|
||||
rect->w = (float)renderer->output_pixel_w;
|
||||
|
||||
Reference in new issue
Block a user