Working stencil buffer for the shield.

This commit is contained in:
Tleety
2016-02-04 14:33:39 +01:00
parent 379d211832
commit 7c582898f4
8 changed files with 41 additions and 32 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ bool RenderState::DepthMask(GLboolean flag)
RenderState::~RenderState()
{
for (auto& f : m_ResetFunctions) {
for (auto& f : boost::adaptors::reverse(m_ResetFunctions)) {
f();
}
}