private void Stage_FormClosed(object sender, FormClosedEventArgs e) { stageLoaded = false; if (InitGL.IsEnable()) { InitGL.DisableOpenGL(); } }
private void Stage_FormClosing(object sender, FormClosingEventArgs e) { Glu.gluDeleteQuadric(quadObj); InitGL.DisableOpenGL(); //Debug.Print("stage unload."); //MainFrm.CheckSaturn() = false; stageLoaded = false; }
private void Stage_FormClosing(object sender, FormClosingEventArgs e) { Glu.gluDeleteQuadric(quadObj); InitGL.DisableOpenGL(); stageLoaded = false; }