X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMain.cc;h=510a9b1b3a1e8bedc3f78926859842e32f3d8785;hp=2cd0f0c08aaf87f62fe3a2ba99c17684a0309a60;hb=4f9eb9259092994de9690cf12f11437c35a6791e;hpb=3f6e44698c38b74bb622ad81ea9d2daa636981d2 diff --git a/src/Main.cc b/src/Main.cc index 2cd0f0c..510a9b1 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -53,7 +53,7 @@ Main::Main() { mDispatchHandler = Mf::core.addHandler("video.newcontext", - boost::bind(&Main::contextRecreated)); + boost::bind(&Main::contextCreated)); setupGL(); } @@ -195,7 +195,7 @@ void Main::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