SDL_RenderSetIntegerScale

This commit is contained in:
Ethan Lee 2016-01-05 16:39:18 -05:00
parent 416d046663
commit 167cf14c1f
3 changed files with 58 additions and 1 deletions

View file

@ -135,6 +135,9 @@ struct SDL_Renderer
int logical_w_backup;
int logical_h_backup;
/* Whether or not to force the viewport to even integer intervals */
SDL_bool integer_scale;
/* The drawable area within the window */
SDL_Rect viewport;
SDL_Rect viewport_backup;