void Layout() { wglMakeCurrent(GLCtrl::GetDC(), GLCtrl::GetHGLRC()); ....Projection stuff wglMakeCurrent(NULL, NULL); }
void State(int reason) { GLCtrl::State(reason); Layout(); }
Report message to a moderator