diff --git a/src/framework/WindowManager.cpp b/src/framework/WindowManager.cpp index b6b0736d3ecb788b30b8f9a4279b8d043c0d2d1b..3e8d08eb661bd7c4bd612acf2986b16fb5a4c3f8 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 b87f3890e1d6a7b92afe67fad3c3d5371e7686bf..d598dafeed6186e22b2c60d4ee37bdfc7d6f9c32 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;