- Timestamp:
- 07/16/08 00:30:51 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgwidgetshader/osgwidgetshader.cpp
r8600 r8602 2 2 // $Id: osgwidgetshader.cpp 28 2008-03-26 15:26:48Z cubicool $ 3 3 4 #include <osgDB/FileUtils> 4 5 #include <osgWidget/Util> 5 6 #include <osgWidget/WindowManager> … … 61 62 program->addShader(osg::Shader::readShaderFile( 62 63 osg::Shader::VERTEX, 63 "osgWidget/osgwidgetshader-vert.glsl"64 osgDB::findDataFile("osgWidget/osgwidgetshader-vert.glsl") 64 65 )); 65 66 66 67 program->addShader(osg::Shader::readShaderFile( 67 68 osg::Shader::FRAGMENT, 68 "osgWidget/osgwidgetshader-frag.glsl"69 osgDB::findDataFile("osgWidget/osgwidgetshader-frag.glsl") 69 70 )); 70 71
