]> Dogcows Code - chaz/yoink/blobdiff - src/video.cc
big batch of progress
[chaz/yoink] / src / video.cc
index 715c407cd7e3803968b5e113523b3a364ea4334b..6960a0bafac8827abfabaa51cd5fe30fc1e7cbcf 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "serializable.hh"
 #include "settings.hh"
+#include "dispatcher.hh"
 
 #include "video.hh"
 
@@ -93,6 +94,7 @@ void video::recreateContext()
        SDL_FreeSurface(context_);
        context_ = 0;
        setVideoMode(attribs_.mode);
+       dc::dispatcher::instance().dispatch("video.context_recreated");
 }
 
 void video::setOpenGLAttributes()
@@ -345,3 +347,5 @@ video::attributes::attributes()
 
 } // namespace dc
 
+/** vim: set ts=4 sw=4 tw=80: *************************************************/
+
This page took 0.016893 seconds and 4 git commands to generate.