summaryrefslogtreecommitdiffhomepage
path: root/src/rcore.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-11-03 12:55:46 +0100
committerraysan5 <[email protected]>2021-11-03 12:55:46 +0100
commit703df425869ddfb6537547929126cae18f370ca0 (patch)
tree644f22ca72acf291f4e9bcd33f9b49ea3b00c768 /src/rcore.c
parent13376de0599cfe11acceaf8baae07131aace94ef (diff)
downloadraylib-703df425869ddfb6537547929126cae18f370ca0.tar.gz
raylib-703df425869ddfb6537547929126cae18f370ca0.zip
Avoid duplicate output info on PLATFORM_RPI
Diffstat (limited to 'src/rcore.c')
-rw-r--r--src/rcore.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rcore.c b/src/rcore.c
index c9b86565..88e45c4f 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -4377,14 +4377,6 @@ static bool InitGraphicsDevice(int width, int height)
TRACELOG(LOG_WARNING, "DISPLAY: Failed to attach EGL rendering context to EGL surface");
return false;
}
- else
- {
- TRACELOG(LOG_INFO, "DISPLAY: Device initialized successfully");
- TRACELOG(LOG_INFO, " > Display size: %i x %i", CORE.Window.display.width, CORE.Window.display.height);
- TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
- TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
- TRACELOG(LOG_INFO, " > Viewport offsets: %i, %i", CORE.Window.renderOffset.x, CORE.Window.renderOffset.y);
- }
#endif // PLATFORM_ANDROID || PLATFORM_RPI || PLATFORM_DRM
// Load OpenGL extensions
@@ -4428,9 +4420,7 @@ static bool InitGraphicsDevice(int width, int height)
SetupViewport(fbWidth, fbHeight);
TRACELOG(LOG_INFO, "DISPLAY: Device initialized successfully");
-#if defined(PLATFORM_DESKTOP)
TRACELOG(LOG_INFO, " > Display size: %i x %i", CORE.Window.display.width, CORE.Window.display.height);
-#endif
TRACELOG(LOG_INFO, " > Screen size: %i x %i", CORE.Window.screen.width, CORE.Window.screen.height);
TRACELOG(LOG_INFO, " > Render size: %i x %i", CORE.Window.render.width, CORE.Window.render.height);
TRACELOG(LOG_INFO, " > Viewport offsets: %i, %i", CORE.Window.renderOffset.x, CORE.Window.renderOffset.y);