From 03de7fce81270e10af88ed0488f12d549a3a4f15 Mon Sep 17 00:00:00 2001 From: don bright Date: Sun, 3 Mar 2013 12:50:32 -0600 Subject: try to fix gimbal camera view on Offscreen mode diff --git a/src/GLView.cc b/src/GLView.cc index 72818f3..8d55712 100644 --- a/src/GLView.cc +++ b/src/GLView.cc @@ -325,8 +325,7 @@ void GLView::gimbalCamPaintGL() glLoadIdentity(); Color4f bgcol = RenderSettings::inst()->color(RenderSettings::BACKGROUND_COLOR); - fprintf(stderr, "%f %f %f", bgcol[0], bgcol[1], bgcol[2] ); - glClearColor(bgcol[0], bgcol[1], bgcol[2], 0.0); + glClearColor(bgcol[0], bgcol[1], bgcol[2], 1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); glRotated(cam.object_rot.x(), 1.0, 0.0, 0.0); -- cgit v0.10.1