MouseCard: removed some overly aggressive asserts for iMinX and iMinY being zero
This commit is contained in:
parent
04cd0b4018
commit
0238645b3e
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue