1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

LP-29 start silencing osg debug output

This commit is contained in:
Philippe Renon 2016-03-13 16:20:28 +01:00
parent 913d9d2cb0
commit 911e3118f5
3 changed files with 7 additions and 3 deletions

View File

@ -107,7 +107,9 @@ void OsgEarth::initialize()
initializeCache();
#ifdef OSG_VERBOSE
displayInfo();
#endif
}
void OsgEarth::initializePathes()

View File

@ -2,7 +2,7 @@ TEMPLATE = lib
TARGET = GCSOsgEarth
DEFINES += OSGEARTH_LIBRARY
#CONFIG += mys2
#DEFINES += OSG_VERBOSE
osg:DEFINES += USE_OSG
osgQt:DEFINES += USE_OSG_QT

View File

@ -116,7 +116,7 @@ GraphicsWindowQt::~GraphicsWindowQt()
void GraphicsWindowQt::init()
{
qDebug() << "GraphicsWindowQt::init";
// qDebug() << "GraphicsWindowQt::init";
if (_closing || _initialized) {
return;
}
@ -199,7 +199,7 @@ bool GraphicsWindowQt::valid() const
bool GraphicsWindowQt::realizeImplementation()
{
qDebug() << "GraphicsWindowQt::realizeImplementation";
// qDebug() << "GraphicsWindowQt::realizeImplementation";
// save the current context
// note: this will save only Qt-based contexts
@ -224,7 +224,9 @@ bool GraphicsWindowQt::realizeImplementation()
_surface = new QOffscreenSurface();
_surface->setFormat(_glContext->format());
_surface->create();
#ifdef OSG_VERBOSE
osgQtQuick::formatInfo(_surface->format());
#endif
} else {
qDebug() << "GraphicsWindowQt::realizeImplementation - using current context";
_glContext = currentContext;