From: Mikko Rasa Date: Fri, 5 Mar 2021 22:45:54 +0000 (+0200) Subject: Remove a debug thing X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e97feb2fdd27af970412eea6a03cc7270032a80b;p=libs%2Fgl.git Remove a debug thing --- diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 2a71cfe4..9083ece3 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -86,7 +86,7 @@ void Compiler::compile(Mode mode) throw invalid_shader_source(get_diagnostics()); unsigned n = 0; - for(list::iterator i=module->stages.begin(); (i!=module->stages.end() && n<10000); ++n) + for(list::iterator i=module->stages.begin(); i!=module->stages.end(); ++n) { OptimizeResult result = optimize(*i); if(result==REDO_PREVIOUS)