projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed resize handling of lightmaps, they are now recreated on resize()
[supertux.git]
/
src
/
video
/
sdl
/
sdl_video_system.cpp
diff --git
a/src/video/sdl/sdl_video_system.cpp
b/src/video/sdl/sdl_video_system.cpp
index
4bb6cef
..
6251fba
100644
(file)
--- a/
src/video/sdl/sdl_video_system.cpp
+++ b/
src/video/sdl/sdl_video_system.cpp
@@
-63,4
+63,17
@@
SDLVideoSystem::free_surface_data(SurfaceData* surface_data)
delete surface_data;
}
+void
+SDLVideoSystem::apply_config()
+{
+ m_renderer->apply_config();
+}
+
+void
+SDLVideoSystem::resize(int w, int h)
+{
+ m_renderer->resize(w, h);
+ m_lightmap.reset(new SDLLightmap);
+}
+
/* EOF */