diff --git a/WindowManager.cpp b/WindowManager.cpp index 47ccd57f8511122025e3564d4e58d59e2264ca1c..575b2a0e81be26a67e4f6d0046023c9f9014168e 100644 --- a/WindowManager.cpp +++ b/WindowManager.cpp @@ -89,12 +89,12 @@ bool WindowManager::initialize(const int width, const int height) SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 1); SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 1); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - + SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1); + // unused requirements //SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8); //SDL_GL_SetAttribute(SDL_GL_BUFFER_SIZE, 32); //SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24); - //SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1); //SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1); // 4x FSAA, might be too heavy for some machines :-)