render: add a hint for toggling relative scaling

Fixes Bugzilla #4811.
This commit is contained in:
hmk
2019-09-30 22:54:16 +03:00
parent aa188048f1
commit 0918903f3c
3 changed files with 18 additions and 2 deletions

View File

@@ -189,6 +189,9 @@ struct SDL_Renderer
/* The pixel to point coordinate scale */
SDL_FPoint dpi_scale;
/* Whether or not to scale relative mouse motion */
SDL_bool relative_scaling;
/* Remainder from scaled relative motion */
float xrel;
float yrel;