// 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