| 19 | |
| 20 | |
| 21 | bool Tr2DeviceResource::PrepareResources() |
| 22 | { |
| 23 | // Do not create anything if we're in the middle of an attempted reset |
| 24 | if( Tr2Renderer::IsResourceCreationAllowed() ) |
| 25 | { |
| 26 | if( !OnPrepareResources() ) |
| 27 | { |
| 28 | return false; |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | return true; |
| 33 | } |
no outgoing calls
no test coverage detected