X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmodule.cpp;h=374ef8ae4d71537fcfa36b37cdba910e63b7faf9;hb=3415ed0f925d781df9d8243e0f4c454516b1c450;hp=5287ae9c2ec369bbdfcf80242c738e4e2fdc75cf;hpb=7af200475facc657a0bbffaa17520d3ec9d809af;p=libs%2Fgl.git diff --git a/source/core/module.cpp b/source/core/module.cpp index 5287ae9c..374ef8ae 100644 --- a/source/core/module.cpp +++ b/source/core/module.cpp @@ -70,6 +70,7 @@ void GlslModule::compile(SL::Compiler &compiler) compiler.compile(SL::Compiler::MODULE); prepared_source = compiler.get_combined_glsl(); source_map = compiler.get_source_map(); + #ifdef DEBUG string diagnostics = compiler.get_diagnostics(); if(!diagnostics.empty())