summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorjussi2023-02-15 01:10:03 +0200
committerjussi2023-02-15 01:10:03 +0200
commit9df23e32b02167dd41c8b5c25b852717163dfeda (patch)
tree5e78bba46f30a7de33ff3cc67cbda2bb465a4742 /src/core.c
parentcf7c480aca8e24c62e6563e96a1bb4636a1ac81f (diff)
downloadreilua-enhanced-9df23e32b02167dd41c8b5c25b852717163dfeda.tar.gz
reilua-enhanced-9df23e32b02167dd41c8b5c25b852717163dfeda.tar.bz2
reilua-enhanced-9df23e32b02167dd41c8b5c25b852717163dfeda.zip
RL_GetWindowSize renamed to RL_GetScreenSize.
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index 1cd9b80..8a2d964 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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 );