mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-09 20:34:50 +00:00
MouseCard: removed some overly aggressive asserts for iMinX and iMinY being zero
This commit is contained in:
parent
04cd0b4018
commit
0238645b3e
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user