| 134 | } |
| 135 | |
| 136 | bool Tr2TextureArray::OnPrepareResources() |
| 137 | { |
| 138 | if( !m_texture.IsValid() && !m_elements.empty() ) |
| 139 | { |
| 140 | m_texture = CreateTexture(); |
| 141 | m_onTextureChange(); |
| 142 | } |
| 143 | return true; |
| 144 | } |
| 145 | |
| 146 | Tr2TextureAL Tr2TextureArray::CreateTexture() const |
| 147 | { |
nothing calls this directly
no test coverage detected