summaryrefslogtreecommitdiffhomepage
path: root/src/platforms
diff options
context:
space:
mode:
authorRay <[email protected]>2024-04-21 12:29:09 +0200
committerRay <[email protected]>2024-04-21 12:29:09 +0200
commit3caa424ad4656b8c8ef8885a234a1a60ade80159 (patch)
tree6e12f45064133e36d141ea105004ab5e9342cd98 /src/platforms
parentcf47fbb20bbaacb986fcfe05f0c0e6c6d89c5690 (diff)
downloadraylib-3caa424ad4656b8c8ef8885a234a1a60ade80159.tar.gz
raylib-3caa424ad4656b8c8ef8885a234a1a60ade80159.zip
Review formatting
Diffstat (limited to 'src/platforms')
-rw-r--r--src/platforms/rcore_desktop.c4
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;