- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/glsl/ReaderWriterGLSL.cpp
r12936 r13041 14 14 { 15 15 public: 16 16 17 17 ReaderWriterGLSL() 18 18 { … … 23 23 supportsExtension("glsl","OpenGL Shader Language format"); 24 24 } 25 25 26 26 virtual const char* className() const { return "GLSL Shader Reader"; } 27 27 … … 131 131 virtual WriteResult writeShader(const osg::Shader& shader,std::ostream& fout,const Options* = NULL) const 132 132 { 133 // get shader source 133 // get shader source 134 134 std::string source = shader.getShaderSource(); 135 136 // write source to file 135 136 // write source to file 137 137 fout << source; 138 138
