summaryrefslogtreecommitdiffhomepage
path: root/src/platforms/rcore_drm.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-26 23:56:38 +0200
committerRay <[email protected]>2023-10-26 23:56:38 +0200
commitd0141bd105b491fbef9ea5fb8c3ba26ba0432717 (patch)
treea54ce33c86259bd70ed4552a78a9dbef470b5cbb /src/platforms/rcore_drm.c
parente4547eb4225189eadd2c6f4e87b5e32c4a285b88 (diff)
downloadraylib-d0141bd105b491fbef9ea5fb8c3ba26ba0432717.tar.gz
raylib-d0141bd105b491fbef9ea5fb8c3ba26ba0432717.zip
Remove trail spaces
Diffstat (limited to 'src/platforms/rcore_drm.c')
-rw-r--r--src/platforms/rcore_drm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/platforms/rcore_drm.c b/src/platforms/rcore_drm.c
index 9609c50d..6f459b1a 100644
--- a/src/platforms/rcore_drm.c
+++ b/src/platforms/rcore_drm.c
@@ -864,14 +864,14 @@ int InitPlatform(void)
// There must be at least one frame displayed before the buffers are swapped
//eglSwapInterval(platform.device, 1);
-
+
EGLBoolean result = eglMakeCurrent(platform.device, platform.surface, platform.surface, platform.context);
// Check surface and context activation
if (result != EGL_FALSE)
{
CORE.Window.ready = true;
-
+
CORE.Window.render.width = CORE.Window.screen.width;
CORE.Window.render.height = CORE.Window.screen.height;
CORE.Window.currentFbo.width = CORE.Window.render.width;
@@ -883,9 +883,9 @@ int InitPlatform(void)
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);
}
- else
- {
- TRACELOG(LOG_FATAL, "PLATFORM: Failed to initialize graphics device");
+ else
+ {
+ TRACELOG(LOG_FATAL, "PLATFORM: Failed to initialize graphics device");
return -1;
}
@@ -905,7 +905,7 @@ int InitPlatform(void)
// NOTE: GL procedures address loader is required to load extensions
rlLoadExtensions(eglGetProcAddress);
//----------------------------------------------------------------------------
-
+
// Initialize input events system
//----------------------------------------------------------------------------
InitEvdevInput(); // Evdev inputs initialization
@@ -922,7 +922,7 @@ int InitPlatform(void)
//----------------------------------------------------------------------------
CORE.Storage.basePath = GetWorkingDirectory();
//----------------------------------------------------------------------------
-
+
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized successfully");
return 0;