summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
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 );