protected Boolean DoPreRender() { if (!_host.IsLoaded) { return(false); } _context.EnsureSurfaceSize(); GLWindows.wglMakeCurrent(_context.DeviceContextHandle, _context.RenderContextHandle); GL.glClear(GL.COLOR_BUFFER_BIT | GL.DEPTH_BUFFER_BIT); GL.glLoadIdentity(); GL.glTranslatef(0, 0.0f, -3.0f); return(true); }