src/Viewer/splash.cxx: show message if we are a debug build.
This commit is contained in:
parent
d4f31c3507
commit
2e030218ea
1 changed files with 6 additions and 0 deletions
|
@ -211,6 +211,12 @@ void SplashScreen::createNodes()
|
||||||
osgText::Text::CENTER_CENTER,
|
osgText::Text::CENTER_CENTER,
|
||||||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||||
}
|
}
|
||||||
|
#ifndef NDEBUG
|
||||||
|
addText(geode, osg::Vec2(0.5f, 0.75f), 0.03,
|
||||||
|
"Debug build",
|
||||||
|
osgText::Text::CENTER_CENTER,
|
||||||
|
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue