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:
Sam Lantinga 2012-10-12 02:56:41 -07:00
parent ea15505815
commit b1a587fdf7
2 changed files with 8 additions and 0 deletions

View file

@ -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;