Browse Source

fixed build on mac

pull/51/head
Stefan Wasilewski 12 years ago
parent
commit
0ab546b32c
  1. 2
      src/Magnum/Platform/Sdl2Application.cpp

2
src/Magnum/Platform/Sdl2Application.cpp

@ -183,7 +183,7 @@ bool Sdl2Application::tryCreateContext(const Configuration& configuration) {
if(!(window = SDL_CreateWindow(configuration.title().data(),
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
configuration.size().x(), configuration.size().y(),
SDL_WINDOW_OPENGL|flags)))
SDL_WINDOW_OPENGL|windowFlags)))
{
Error() << "Platform::Sdl2Application::tryCreateContext(): cannot create window:" << SDL_GetError();
return false;

Loading…
Cancel
Save