| 20 | } |
| 21 | |
| 22 | ALResult Tr2FenceAL::Create( Tr2PrimaryRenderContextAL& renderContext ) |
| 23 | { |
| 24 | m_fence = std::make_shared<TrinityALImpl::Tr2FenceAL>(); |
| 25 | auto result = m_fence->Create( renderContext ); |
| 26 | if( FAILED( result ) ) |
| 27 | { |
| 28 | m_fence = NullFence(); |
| 29 | } |
| 30 | return result; |
| 31 | } |
| 32 | |
| 33 | ALResult Tr2FenceAL::PutFence( Tr2RenderContextAL& renderContext ) |
| 34 | { |
no test coverage detected