Working stencil buffer for the shield.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user