RL_GetWindowSize renamed to RL_GetScreenSize.

This commit is contained in:
jussi
2023-02-15 01:10:03 +02:00
parent cf7c480aca
commit 9df23e32b0
20 changed files with 28 additions and 25 deletions

View File

@@ -298,13 +298,13 @@ int lcoreGetWindowPosition( lua_State *L ) {
}
/*
> size = RL_GetWindowPosition()
> size = RL_GetScreenSize()
Get window size
Get screen size
- Success return Vector2
*/
int lcoreGetWindowSize( lua_State *L ) {
int lcoreGetScreenSize( lua_State *L ) {
Vector2 size = (Vector2){ GetScreenWidth(), GetScreenHeight() };
uluaPushVector2( L, size );