The logical size set for a render target is temporary and shouldn't conflict with the logical size set for a window.
This commit is contained in:
parent
ea15505815
commit
b1a587fdf7
2 changed files with 8 additions and 0 deletions
|
@ -126,6 +126,8 @@ struct SDL_Renderer
|
|||
/* The logical resolution for rendering */
|
||||
int logical_w;
|
||||
int logical_h;
|
||||
int logical_w_backup;
|
||||
int logical_h_backup;
|
||||
|
||||
/* The drawable area within the window */
|
||||
SDL_Rect viewport;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue