Update portable_window.c
This commit is contained in:
parent
4f48e5a3c7
commit
935b8119e9
@ -67,7 +67,7 @@ int main()
|
||||
windowPosition.x += (mousePosition.x - panOffset.x);
|
||||
windowPosition.y += (mousePosition.y - panOffset.y);
|
||||
|
||||
SetWindowPosition(windowPosition.x, windowPosition.y);
|
||||
SetWindowPosition((int)windowPosition.x, (int)windowPosition.y);
|
||||
|
||||
if (IsMouseButtonReleased(MOUSE_LEFT_BUTTON)) dragWindow = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user