]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove a debug thing
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 22:45:54 +0000 (00:45 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 23:00:31 +0000 (01:00 +0200)
source/glsl/compiler.cpp

index 2a71cfe4e23ff49eb8914aee64639a4e5c19dec5..9083ece3fb019681a33974a4ed46c41b15bfb296 100644 (file)
@@ -86,7 +86,7 @@ void Compiler::compile(Mode mode)
                throw invalid_shader_source(get_diagnostics());
 
        unsigned n = 0;
-       for(list<Stage>::iterator i=module->stages.begin(); (i!=module->stages.end() && n<10000); ++n)
+       for(list<Stage>::iterator i=module->stages.begin(); i!=module->stages.end(); ++n)
        {
                OptimizeResult result = optimize(*i);
                if(result==REDO_PREVIOUS)