Maelstrom: Updated for normalized SDL touch coordinates

https://github.com/libsdl-org/Maelstrom/commit/18eae765516615bfa3c5f2c4fe760e1a366fc7f7

From 18eae765516615bfa3c5f2c4fe760e1a366fc7f7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 3 Mar 2013 00:53:46 -0800
Subject: [PATCH] Updated for normalized SDL touch coordinates

---
 screenlib/SDL_FrameBuf.cpp | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp
index bd4d1379..c5649945 100644
--- a/screenlib/SDL_FrameBuf.cpp
+++ b/screenlib/SDL_FrameBuf.cpp
@@ -129,15 +129,10 @@ FrameBuf::ConvertTouchCoordinates(const SDL_TouchFingerEvent &finger, int *x, in
 	int window_w, window_h;
 	float scale_x, scale_y;
 
-	SDL_Touch* inTouch = SDL_GetTouch(finger.touchId);
-	if (inTouch == NULL) {
-		return false;
-	}
-    
 	SDL_GetWindowSize(window, &window_w, &window_h);
 	SDL_RenderGetScale(renderer, &scale_x, &scale_y);
-	*x = (int)((((float)finger.x)/inTouch->xres)*window_w/scale_x) - output.x;
-	*y = (int)((((float)finger.y)/inTouch->yres)*window_h/scale_y) - output.y;
+	*x = (int)(finger.x*window_w/scale_x) - output.x;
+	*y = (int)(finger.y*window_h/scale_y) - output.y;
 	*x = (*x * rect.w) / output.w;
 	*y = (*y * rect.h) / output.h;
 	return true;