File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ void glState::Apply()
4848 RCache.set_CullMode (m_pRasterizerState.CullMode );
4949 RCache.set_Z (m_pDepthStencilState.DepthEnable );
5050 RCache.set_ZFunc (m_pDepthStencilState.DepthFunc );
51- /* TODO: OGL: Cache the stencil state globally.
5251 RCache.set_Stencil (
5352 m_pDepthStencilState.StencilEnable ,
5453 m_pDepthStencilState.StencilFunc ,
@@ -58,7 +57,7 @@ void glState::Apply()
5857 m_pDepthStencilState.StencilFailOp ,
5958 m_pDepthStencilState.StencilPassOp ,
6059 m_pDepthStencilState.StencilDepthFailOp
61- );*/
60+ );
6261
6362 CHK_GL (glDepthMask (m_pDepthStencilState.DepthWriteMask ? GL_TRUE : GL_FALSE));
6463
@@ -83,8 +82,7 @@ void glState::Apply()
8382 glStateUtils::ConvertBlendOp (m_pBlendState.BlendOpAlpha )
8483 ));
8584
86- // TODO: OGL: Cache the color mask globally.
87- // RCache.set_ColorWriteEnable(m_pBlendState.ColorMask);
85+ RCache.set_ColorWriteEnable (m_pBlendState.ColorMask );
8886}
8987
9088void glState::Release ()
You can’t perform that action at this time.
0 commit comments