Skip to content

Commit dbcb8fc

Browse files
committed
cleanup unused parameter in stain cleanuprenderstate()
1 parent c8af3aa commit dbcb8fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine/render/stain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class stainrenderer
259259
gle::enablecolor();
260260
}
261261

262-
static void cleanuprenderstate(int sbuf, bool gbuf, int layer)
262+
static void cleanuprenderstate(int sbuf, bool gbuf)
263263
{
264264
gle::clearvbo();
265265

@@ -1129,7 +1129,7 @@ bool renderstains(int sbuf, bool gbuf, int layer)
11291129
{
11301130
return false;
11311131
}
1132-
stainrenderer::cleanuprenderstate(sbuf, gbuf, layer);
1132+
stainrenderer::cleanuprenderstate(sbuf, gbuf);
11331133
return true;
11341134
}
11351135

0 commit comments

Comments
 (0)