X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FVideo.cc;h=544e172ad7a00dac196867689e69c8429fd7e0be;hp=ba375e10318195cc770bca37552288d64bb6d816;hb=be9ebc1104574e5e81e19c5caba0c23b54df826d;hpb=4f62ce947db282f0bbf4d49b3aafb83d7cf51adc diff --git a/src/Moof/Video.cc b/src/Moof/Video.cc index ba375e1..544e172 100644 --- a/src/Moof/Video.cc +++ b/src/Moof/Video.cc @@ -132,7 +132,7 @@ void Video::setVideoMode(const long mode[3]) // on win32, creating a new context via SDL_SetVideoMode will wipe // out the GL state, so we gotta notify everyone to reload their // state after the change - Engine::getInstance().dispatch("video.newcontext"); + engine.dispatch("video.newcontext"); logInfo("video context recreated"); #endif