render: add a hint for toggling relative scaling

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

No files matched your search

+3
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;