]> git.tdb.fi Git - libs/gl.git/blobdiff - tools/glslcompiler.cpp
Adjust GLSL features factory function names
[libs/gl.git] / tools / glslcompiler.cpp
index 458a56cee87caec21ef54dc42c5d0a5603a42583..5dfd520d903296a367aa45670cc6ecbef9a2ddf6 100644 (file)
@@ -28,7 +28,7 @@ using namespace std;
 using namespace Msp;
 
 GlslCompiler::GlslCompiler(int argc, char **argv):
-       features(GL::SL::Features::latest()),
+       features(GL::SL::Features::opengl_latest()),
        compile_mode(GL::SL::Compiler::PROGRAM),
        parse_only(false),
        combined(false),
@@ -54,7 +54,7 @@ GlslCompiler::GlslCompiler(int argc, char **argv):
        getopt(argc, argv);
 
        if(target_version)
-               features = GL::SL::Features::from_version(GL::Version(target_version/100, target_version%100));
+               features = GL::SL::Features::from_opengl_version(GL::Version(target_version/100, target_version%100));
 
        if(as_module)
        {