From e97feb2fdd27af970412eea6a03cc7270032a80b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 6 Mar 2021 00:45:54 +0200 Subject: [PATCH] Remove a debug thing --- source/glsl/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2