diff options
| author | Ray <[email protected]> | 2024-04-21 12:29:09 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-04-21 12:29:09 +0200 |
| commit | 3caa424ad4656b8c8ef8885a234a1a60ade80159 (patch) | |
| tree | 6e12f45064133e36d141ea105004ab5e9342cd98 /src/platforms | |
| parent | cf47fbb20bbaacb986fcfe05f0c0e6c6d89c5690 (diff) | |
| download | raylib-3caa424ad4656b8c8ef8885a234a1a60ade80159.tar.gz raylib-3caa424ad4656b8c8ef8885a234a1a60ade80159.zip | |
Review formatting
Diffstat (limited to 'src/platforms')
| -rw-r--r-- | src/platforms/rcore_desktop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/rcore_desktop.c b/src/platforms/rcore_desktop.c index 211a6cbb..de289ca0 100644 --- a/src/platforms/rcore_desktop.c +++ b/src/platforms/rcore_desktop.c @@ -1377,7 +1377,7 @@ int InitPlatform(void) if (CORE.Window.fullscreen) { - // remember center for switchinging from fullscreen to window + // Remember center for switchinging from fullscreen to window if ((CORE.Window.screen.height == CORE.Window.display.height) && (CORE.Window.screen.width == CORE.Window.display.width)) { // If screen width/height equal to the display, we can't calculate the window pos for toggling full-screened/windowed. @@ -1515,7 +1515,7 @@ int InitPlatform(void) // If graphic device is no properly initialized, we end program if (!CORE.Window.ready) { TRACELOG(LOG_FATAL, "PLATFORM: Failed to initialize graphic device"); return -1; } - else + else { // Try to center window on screen but avoiding window-bar outside of screen int monitorX = 0; |
