Skip to content

Commit

Permalink
range based for in setuppostfx
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Sep 17, 2023
1 parent f2650b7 commit 2cc31b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/render/postfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class postfx
{
postfxbinds[i] = -1;
}
for(uint i = 0; i < postfxtexs.size(); i++)
for(postfxtex &i : postfxtexs)
{
postfxtexs.at(i).used = -1;
i.used = -1;
}
if(!postfxfb)
{
Expand Down

0 comments on commit 2cc31b4

Please sign in to comment.