Fixed initialisation order issue in GLVideoSystem
[supertux.git] / src / video / gl / gl_video_system.cpp
index b19c9d9..dde614d 100644 (file)
@@ -23,9 +23,9 @@
 #include "video/texture_manager.hpp"
 
 GLVideoSystem::GLVideoSystem() :
+  m_texture_manager(new TextureManager),
   m_renderer(new GLRenderer),
-  m_lightmap(new GLLightmap),
-  m_texture_manager(new TextureManager)
+  m_lightmap(new GLLightmap)
 {
 }