fix GetMouseWindowPosition()
This commit is contained in:
parent
e046dafced
commit
dc8d58d95c
|
@ -417,8 +417,8 @@ namespace SHADE
|
|||
{
|
||||
POINT p{ mouseScreenX, mouseScreenY };
|
||||
ScreenToClient(GetActiveWindow(), &p);
|
||||
if (x) *x = mouseScreenX;
|
||||
if (y) *y = mouseScreenY;
|
||||
if (x) *x = p.x;
|
||||
if (y) *y = p.y;
|
||||
}
|
||||
|
||||
//Get the mouse velocity
|
||||
|
|
Loading…
Reference in New Issue