Fix scissor on macos (#2170)

* Expose GetRenderWidth and GetRenderHeight functions

* Fix scissor on macos

* Fix typo
This commit is contained in:
Arnaud Valensi 2021-11-25 01:03:20 +01:00 committed by GitHub
parent e60aa8e935
commit b248a00c90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -928,6 +928,8 @@ RLAPI void SetWindowSize(int width, int height); // Set window
RLAPI void *GetWindowHandle(void); // Get native window handle
RLAPI int GetScreenWidth(void); // Get current screen width
RLAPI int GetScreenHeight(void); // Get current screen height
RLAPI int GetRenderWidth(void); // Get current render width
RLAPI int GetRenderHeight(void); // Get current render height
RLAPI int GetMonitorCount(void); // Get number of connected monitors
RLAPI int GetCurrentMonitor(void); // Get current connected monitor
RLAPI Vector2 GetMonitorPosition(int monitor); // Get specified monitor position