1
0
Fork 0

src/Viewer/splash.cxx: show message if we are a debug build.

This commit is contained in:
Julian Smith 2021-05-09 19:51:20 +01:00
parent d4f31c3507
commit 2e030218ea

View file

@ -211,6 +211,12 @@ void SplashScreen::createNodes()
osgText::Text::CENTER_CENTER,
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
///////////