From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14
---
source/src/render/SDL_sysrender.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/source/src/render/SDL_sysrender.h b/source/src/render/SDL_sysrender.h
index d6b2f3d..5bb9809 100644
--- a/source/src/render/SDL_sysrender.h
+++ b/source/src/render/SDL_sysrender.h
@@ -189,6 +189,13 @@
/* 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;
+
/* The list of textures */
SDL_Texture *textures;
SDL_Texture *target;
--
Gitblit v1.9.3