diff --git a/examples/osgmultitexture/osgmultitexture.cpp b/examples/osgmultitexture/osgmultitexture.cpp index 0cab6ccbf..d8272fd20 100644 --- a/examples/osgmultitexture/osgmultitexture.cpp +++ b/examples/osgmultitexture/osgmultitexture.cpp @@ -110,7 +110,7 @@ int main( int argc, char **argv ) { if (!textExt->isMultiTexturingSupported()) { - std::cout<<"Warning: texture_cube_map not supported by OpenGL drivers, unable to run application."< testSupportCallback = new TestSupportCallback(); viewer.setRealizeCallback(testSupportCallback.get()); // create the windows and run the threads. viewer.realize(); + // exit if we don't have the extensions this example needs. if (!testSupportCallback->_supported) { osg::notify(osg::WARN)<_errorMessage<