- Timestamp:
- 04/10/03 21:32:32 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgmultitexture/osgmultitexture.cpp
r1844 r1856 102 102 viewer.realize(); 103 103 104 for(unsigned int contextID = 0; 105 contextID<viewer.getDisplaySettings()->getMaxNumberOfGraphicsContexts(); 106 ++contextID) 107 { 108 osg::Texture::Extensions* textExt = osg::Texture::getExtensions(contextID,false); 109 if (textExt) 110 { 111 if (!textExt->isMultiTexturingSupported()) 112 { 113 cout<<"Warning: texture_cube_map not supported by OpenGL drivers, unable to run application."<<std::endl; 114 return 1; 115 } 116 } 117 } 118 104 119 while( !viewer.done() ) 105 120 {
