Fixed resize handling of lightmaps, they are now recreated on resize()
[supertux.git] / src / video / video_system.hpp
index 3ad7559..729f6ef 100644 (file)
@@ -53,6 +53,9 @@ public:
   virtual SurfaceData* new_surface_data(const Surface &surface) = 0;
   virtual void free_surface_data(SurfaceData* surface_data) = 0;
 
+  virtual void apply_config() = 0;
+  virtual void resize(int w, int h) = 0;
+
 private:
   VideoSystem(const VideoSystem&) = delete;
   VideoSystem& operator=(const VideoSystem&) = delete;