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:
parent
913d9d2cb0
commit
911e3118f5
@ -107,7 +107,9 @@ void OsgEarth::initialize()
|
||||
|
||||
initializeCache();
|
||||
|
||||
#ifdef OSG_VERBOSE
|
||||
displayInfo();
|
||||
#endif
|
||||
}
|
||||
|
||||
void OsgEarth::initializePathes()
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user