Removed unused SDL_Surface* screen; from GLLightmap
[supertux.git] / src / video / gl / gl_lightmap.cpp
index 21412e7..8cf8494 100644 (file)
 #include "video/texture_manager.hpp"
 
 GLLightmap::GLLightmap() :
-  screen(),
   lightmap(),
   lightmap_width(),
   lightmap_height(),
   lightmap_uv_right(),
   lightmap_uv_bottom()
 {
-#ifdef OLD_SDL1
-  screen = SDL_GetVideoSurface();
-#endif
-
   lightmap_width = SCREEN_WIDTH / LIGHTMAP_DIV;
   lightmap_height = SCREEN_HEIGHT / LIGHTMAP_DIV;
   unsigned int width = next_po2(lightmap_width);