diff options
| author | Ray <[email protected]> | 2023-10-30 13:14:15 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-10-30 13:14:15 +0100 |
| commit | abdebc244d41508c246a3a604f9f8b94d5758704 (patch) | |
| tree | 2a62bbe77d7ee29741ae6330f34d376aeae4d133 /src | |
| parent | 9642fffbbbdda0d31bedae6126e7b3b9073ec407 (diff) | |
| download | raylib-abdebc244d41508c246a3a604f9f8b94d5758704.tar.gz raylib-abdebc244d41508c246a3a604f9f8b94d5758704.zip | |
Update rcore.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index 415fecfd..fdc52120 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -764,7 +764,7 @@ int GetRenderHeight(void) int height = 0; #if defined(__APPLE__) Vector2 scale = GetWindowScaleDPI(); - height = (int)((float)CORE.Window.render.width*scale.y); + height = (int)((float)CORE.Window.render.height*scale.y); #else height = CORE.Window.render.height; #endif |
