update windowPos (bug remaining somewhere)
This commit is contained in:
parent
36c01897fb
commit
0671639faa
|
|
@ -886,7 +886,11 @@ Vector2 GetWindowPosition(void)
|
|||
return (Vector2){ 0.0f, 0.0f };
|
||||
}
|
||||
|
||||
if (RGFW_window_getPosition(platform.window, &platform.window->x, &platform.window->y)) {
|
||||
return (Vector2){ (float)platform.window->x, (float)platform.window->y };
|
||||
}
|
||||
|
||||
return (Vector2){ 0.0f, 0.0f };
|
||||
}
|
||||
|
||||
// Get window scale DPI factor for current monitor
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user