X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foptimize.cpp;h=55e5da5fddeec0896cbd52b087a87bf928da305d;hb=d4257f651ab8341d926d97d5c85d72ce64f8778b;hp=16e43a9e44c6d689a13f92f8655e0b258bb0d5e8;hpb=5613516c5724ec9ad25b1e08d9c4d4ea1ab3f329;p=libs%2Fgl.git diff --git a/source/glsl/optimize.cpp b/source/glsl/optimize.cpp index 16e43a9e..55e5da5f 100644 --- a/source/glsl/optimize.cpp +++ b/source/glsl/optimize.cpp @@ -1263,7 +1263,7 @@ void UnusedVariableRemover::record_assignment(const Assignment::Target &target, /* An assignment to the target hides any assignments to the same target or its subfields. */ VariableInfo &var_info = variables[target.declaration]; - for(unsigned i=0; itarget;