diff options
| author | gulrak <[email protected]> | 2022-06-09 21:00:04 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-09 21:00:04 +0200 |
| commit | 5e3ef4220185781d31190723a149d42c30aac492 (patch) | |
| tree | e4fe6d317b18454e10800283c0dc9639e27df670 /src/raylib.h | |
| parent | 59a808516e6d1bc1db1f0caad60b45fc26afaf97 (diff) | |
| download | raylib-5e3ef4220185781d31190723a149d42c30aac492.tar.gz raylib-5e3ef4220185781d31190723a149d42c30aac492.zip | |
GetMonitorWidth()/GetMonitorHeight(): return current video resolution instead max available (#2514)
* GetMonitorWidth()/GetMonitorHeight(): current video resolution instead max available
* adapt header comment to reflect change
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index b6037eda..47218129 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -939,8 +939,8 @@ RLAPI int GetRenderHeight(void); // Get current 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 -RLAPI int GetMonitorWidth(int monitor); // Get specified monitor width (max available by monitor) -RLAPI int GetMonitorHeight(int monitor); // Get specified monitor height (max available by monitor) +RLAPI int GetMonitorWidth(int monitor); // Get specified monitor width (current video mode used by monitor) +RLAPI int GetMonitorHeight(int monitor); // Get specified monitor height (current video mode used by monitor) RLAPI int GetMonitorPhysicalWidth(int monitor); // Get specified monitor physical width in millimetres RLAPI int GetMonitorPhysicalHeight(int monitor); // Get specified monitor physical height in millimetres RLAPI int GetMonitorRefreshRate(int monitor); // Get specified monitor refresh rate |
