Parcourir la source

sdl: display GL context version upon creation.

legacy
Sam Hocevar il y a 5 ans
Parent
révision
864bc699cf
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/application/sdl-app.cpp

+ 1
- 0
src/application/sdl-app.cpp Voir le fichier

@@ -67,6 +67,7 @@ sdl::app_display::app_display(char const *title, ivec2 res)
SDL_GetWindowSize(m_window, &res.x, &res.y);

m_glcontext = SDL_GL_CreateContext(m_window);
msg::info("created GL context: %s\n", glGetString(GL_VERSION));

/* Initialise everything */
Video::Setup(res); //TODO ?? Should it be here ?


Chargement…
Annuler
Enregistrer