mirror of
https://github.com/aap/librw.git
synced 2025-12-21 01:49:56 +00:00
subsystems and videomodes implemented (except SDL2); smaller fixes too
This commit is contained in:
@@ -254,7 +254,7 @@ WinMain(HINSTANCE instance, HINSTANCE,
|
||||
MessageBox(0, "MakeWindow() - FAILED", 0, 0);
|
||||
return 0;
|
||||
}
|
||||
engineStartParams.window = win;
|
||||
engineOpenParams.window = win;
|
||||
initkeymap();
|
||||
|
||||
if(EventHandler(RWINITIALIZE, nil) == EVENTERROR)
|
||||
@@ -283,7 +283,7 @@ void
|
||||
SetMousePosition(int x, int y)
|
||||
{
|
||||
POINT pos = { x, y };
|
||||
ClientToScreen(engineStartParams.window, &pos);
|
||||
ClientToScreen(engineOpenParams.window, &pos);
|
||||
SetCursorPos(pos.x, pos.y);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user