| 231 | } |
| 232 | |
| 233 | ALResult Tr2SuballocatedBuffer::Allocation::MapForReading( const void*& data, Tr2RenderContextAL& renderContext ) |
| 234 | { |
| 235 | CR_RETURN_HR( m_parent->ReadBuffer( m_mappedCopy, m_offset, m_size, renderContext ) ); |
| 236 | data = m_mappedCopy.get(); |
| 237 | return S_OK; |
| 238 | } |
| 239 | |
| 240 | |
| 241 | void Tr2SuballocatedBuffer::Allocation::UnmapForReading( Tr2RenderContextAL& renderContext ) |
no test coverage detected