From 0238645b3e549321888c7f5ddb1c54e52c2a8f0e Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 22 Feb 2015 15:32:31 +0000 Subject: [PATCH] MouseCard: removed some overly aggressive asserts for iMinX and iMinY being zero --- source/Frame.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/Frame.cpp b/source/Frame.cpp index 38ff530f..44fe00fe 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -2469,7 +2469,6 @@ void FrameSetCursorPosByMousePos() int iY, iMinY, iMaxY; sg_Mouse.GetXY(iX, iMinX, iMaxX, iY, iMinY, iMaxY); - _ASSERT(iMinX == 0 && iMinY == 0); float fScaleX = (float)(iX-iMinX) / ((float)(iMaxX-iMinX)); float fScaleY = (float)(iY-iMinY) / ((float)(iMaxY-iMinY)); @@ -2505,7 +2504,6 @@ static void FrameSetCursorPosByMousePos(int x, int y, int dx, int dy, bool bLeav int iX, iMinX, iMaxX; int iY, iMinY, iMaxY; sg_Mouse.GetXY(iX, iMinX, iMaxX, iY, iMinY, iMaxY); - _ASSERT(iMinX == 0 && iMinY == 0); if (bLeavingAppleScreen) {