X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fvideo.cc;h=6960a0bafac8827abfabaa51cd5fe30fc1e7cbcf;hp=715c407cd7e3803968b5e113523b3a364ea4334b;hb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1;hpb=0fffd0097d7b496454413e57b398c903ecc252e4 diff --git a/src/video.cc b/src/video.cc index 715c407..6960a0b 100644 --- a/src/video.cc +++ b/src/video.cc @@ -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: *************************************************/ +