Fix window Y position reading X in RGFW move callback (#6044)
This commit is contained in:
parent
4245423cc1
commit
f28c2221cc
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ static void RGFW_cb_windowmovefunc(const RGFW_event *e)
|
||||||
if (e->common.win != platform.window) return;
|
if (e->common.win != platform.window) return;
|
||||||
|
|
||||||
CORE.Window.position.x = platform.window->x;
|
CORE.Window.position.x = platform.window->x;
|
||||||
CORE.Window.position.y = platform.window->x;
|
CORE.Window.position.y = platform.window->y;
|
||||||
}
|
}
|
||||||
static void RGFW_cb_keycharfunc(const RGFW_event *e)
|
static void RGFW_cb_keycharfunc(const RGFW_event *e)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue