Main::Main()
{
mDispatchHandler = Mf::core.addHandler("video.newcontext",
- boost::bind(&Main::contextRecreated));
+ boost::bind(&Main::contextCreated));
setupGL();
}
//glMatrixMode(GL_MODELVIEW);
}
-void Main::contextRecreated()
+void Main::contextCreated()
{
// whenever the context is destroyed and a new one created, it probably
// won't contain our state so we need to set that up again