X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tools%2Fglslcompiler.cpp;h=bcc787ebbb252e029b83d1793e9d749a69b8b180;hp=d11fd611f23efa3125e53345596a89b52a997c5e;hb=aa389f9840d961f7edbcf64eadced812134d8481;hpb=c32051dc7e77faf0fe6bdad2a6f1025e7b43da19 diff --git a/tools/glslcompiler.cpp b/tools/glslcompiler.cpp index d11fd611..bcc787eb 100644 --- a/tools/glslcompiler.cpp +++ b/tools/glslcompiler.cpp @@ -44,7 +44,7 @@ using namespace std; using namespace Msp; GlslCompiler::GlslCompiler(int argc, char **argv): - features(GL::SL::Features::opengl_latest()), + features(GL::SL::Features::latest(GL::OPENGL)), compile_mode(GL::SL::Compiler::PROGRAM), parse_only(false), combined(false), @@ -71,7 +71,7 @@ GlslCompiler::GlslCompiler(int argc, char **argv): getopt(argc, argv); if(target_version) - features = GL::SL::Features::from_opengl_version(GL::Version(target_version/100, target_version%100)); + features = GL::SL::Features::from_api_version(GL::OPENGL, GL::Version(target_version/100, target_version%100)); if(as_module) {