Make it build with -DCOMPILE_AMALGATION=ON. Still not certain how intern_draw/next_po...
[supertux.git] / src / video / gl / gl_lightmap.hpp
index f6af11d..10ee546 100644 (file)
@@ -43,7 +43,7 @@ private:
   static const int LIGHTMAP_DIV = 5;
 
   SDL_Surface* screen;
-  GLTexture* lightmap;
+  boost::shared_ptr<GLTexture> lightmap;
   int lightmap_width;
   int lightmap_height;
   float lightmap_uv_right;