X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tools%2Fglslcompiler.cpp;h=5dfd520d903296a367aa45670cc6ecbef9a2ddf6;hp=458a56cee87caec21ef54dc42c5d0a5603a42583;hb=d1e4737;hpb=39495091719dfc699b6454f6b23925b03544da9a diff --git a/tools/glslcompiler.cpp b/tools/glslcompiler.cpp index 458a56ce..5dfd520d 100644 --- a/tools/glslcompiler.cpp +++ b/tools/glslcompiler.cpp @@ -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) {