private void DrawScene() { msgScene scene = msgScene.GetScene(); mIObjectsList objList = scene.GetObjectsList(); msgObject curObj = objList.GetHead(); while (curObj != null) { Painter.DrawObject(Painter.RenderingMode.GL_RENDER, curObj, false, false); curObj = objList.GetNext(curObj); } }