| 1152 | } |
| 1153 | |
| 1154 | bool Tr2EffectStateManager::SetDepthStencilBuffer( const Tr2TextureAL& ds ) |
| 1155 | { |
| 1156 | if( !SUCCEEDED( m_renderContext.SetDepthStencil( ds ) ) ) |
| 1157 | { |
| 1158 | CCP_LOGERR( "Failed to set depth/stencil buffer" ); |
| 1159 | return false; |
| 1160 | } |
| 1161 | |
| 1162 | return true; |
| 1163 | } |
| 1164 | |
| 1165 | void Tr2EffectStateManager::SetupContextResources() |
| 1166 | { |
no test coverage detected