Browse Source

Platform: actually create the fallback context in Sdl2Application.

Apparently this was broken ever since. Heh.
pull/116/head
Vladimír Vondruš 11 years ago
parent
commit
8f35ebaedf
  1. 3
      src/Magnum/Platform/Sdl2Application.cpp

3
src/Magnum/Platform/Sdl2Application.cpp

@ -191,6 +191,9 @@ bool Sdl2Application::tryCreateContext(const Configuration& configuration) {
Error() << "Platform::Sdl2Application::tryCreateContext(): cannot create window:" << SDL_GetError();
return false;
}
/* Create compatibility context */
_glContext = SDL_GL_CreateContext(_window);
}
#endif

Loading…
Cancel
Save