Skip to content
Snippets Groups Projects
Commit f81718d3 authored by Oliver Behnke's avatar Oliver Behnke
Browse files

Start with centered window

parent 3be9922b
No related branches found
No related tags found
1 merge request!1Move macOS build to 64 bit
......@@ -138,8 +138,8 @@ bool WindowManager::initialize(const int width, const int height, const int fram
// finally, get window
m_Window = SDL_CreateWindow(
"Einstein@Home",
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED,
m_CurrentWidth,
m_CurrentHeight,
m_VideoModeFlags);
......@@ -168,8 +168,8 @@ bool WindowManager::initialize(const int width, const int height, const int fram
// reset window
m_Window = SDL_CreateWindow(
"Einstein@Home",
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED,
m_CurrentWidth,
m_CurrentHeight,
m_VideoModeFlags);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment