X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fmodule.cpp;h=374ef8ae4d71537fcfa36b37cdba910e63b7faf9;hp=5287ae9c2ec369bbdfcf80242c738e4e2fdc75cf;hb=70d9d2d28e5fe723c6b46894276e4c935f578e2d;hpb=db349c75a9563d38afaf1a8a602d9ee1155d62bb 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())