From 28bea34e6ca7c319a7a191adac7dc9f433c99f2d Mon Sep 17 00:00:00 2001 From: Oliver Behnke <oliver.behnke@aei.mpg.de> Date: Thu, 5 Mar 2020 15:05:03 +0100 Subject: [PATCH] Fixed indentation --- src/framework/WindowManager.cpp | 24 ++++++++++++------------ src/framework/WindowManager.h | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/framework/WindowManager.cpp b/src/framework/WindowManager.cpp index b6b0736..3e8d08e 100644 --- a/src/framework/WindowManager.cpp +++ b/src/framework/WindowManager.cpp @@ -125,12 +125,12 @@ bool WindowManager::initialize(const int width, const int height, const int fram // create window m_Window = SDL_CreateWindow( - "Einstein@Home", - SDL_WINDOWPOS_CENTERED, - SDL_WINDOWPOS_CENTERED, - m_CurrentWidth, - m_CurrentHeight, - m_VideoModeFlags); + "Einstein@Home", + SDL_WINDOWPOS_CENTERED, + SDL_WINDOWPOS_CENTERED, + m_CurrentWidth, + m_CurrentHeight, + m_VideoModeFlags); if (m_Window == NULL) { cerr << "Could not acquire rendering surface (" << SDL_GetError() << "): will try fallback..." << endl; @@ -163,12 +163,12 @@ bool WindowManager::initialize(const int width, const int height, const int fram // reset window if (m_Window) SDL_DestroyWindow(m_Window); m_Window = SDL_CreateWindow( - "Einstein@Home", - SDL_WINDOWPOS_CENTERED, - SDL_WINDOWPOS_CENTERED, - m_CurrentWidth, - m_CurrentHeight, - m_VideoModeFlags); + "Einstein@Home", + SDL_WINDOWPOS_CENTERED, + SDL_WINDOWPOS_CENTERED, + m_CurrentWidth, + m_CurrentHeight, + m_VideoModeFlags); if (m_Window == NULL) { cerr << "Could not acquire window (" << SDL_GetError() << "): giving up!" << endl; diff --git a/src/framework/WindowManager.h b/src/framework/WindowManager.h index b87f389..d598daf 100644 --- a/src/framework/WindowManager.h +++ b/src/framework/WindowManager.h @@ -261,8 +261,8 @@ private: /// The SDL window handle SDL_Window *m_Window; - /// The SDL OpenGL context handle - SDL_GLContext m_GLContext; + /// The SDL OpenGL context handle + SDL_GLContext m_GLContext; /// The screensaver mode indicator bool m_ScreensaverMode; -- GitLab