mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-19 03:08:27 +00:00
SDL_RenderSetIntegerScale
This commit is contained in:
parent
416d046663
commit
167cf14c1f
3 changed files with 58 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue