X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fglslcompiler.cpp;h=8ff630555557e1bf5a3b7f1d7b5e7ece23d33027;hb=11bbe9f4961d5550de39f890eeac63f45a7d0295;hp=7c5e646283c25cfcbbbc8e705e4c958b0c22c6f9;hpb=44792dd6fb56a709d9a1d33d7fccc2ab8de905d2;p=libs%2Fgl.git diff --git a/tests/glsl/glslcompiler.cpp b/tests/glsl/glslcompiler.cpp index 7c5e6462..8ff63055 100644 --- a/tests/glsl/glslcompiler.cpp +++ b/tests/glsl/glslcompiler.cpp @@ -99,9 +99,9 @@ const GlslCompilerTest::TestCase &GlslCompilerTest::load_test_case(const string void GlslCompilerTest::run_test_case(const TestCase *test_case) { GL::SL::Compiler compiler(GL::SL::Features::all()); - compiler.set_source(test_case->source, ""); try { + compiler.set_source(test_case->source, ""); compiler.compile(GL::SL::Compiler::PROGRAM); } catch(const GL::SL::invalid_shader_source &exc)