SDL: Implement lightmaps smaller than the screen size. LIGHTMAP_DIV is calculated...
[supertux.git] / src / video / gl_lightmap.hpp
index dd5b131..cb70709 100644 (file)
@@ -49,6 +49,8 @@ namespace GL
     void get_light(const DrawingRequest& request) const;
 
   private:
+    static const int LIGHTMAP_DIV = 5;
+
     SDL_Surface* screen;
     Texture* lightmap;
     int lightmap_width, lightmap_height;