| 318 | } |
| 319 | |
| 320 | void CGraphics_Threaded::UnloadTexture(CTextureHandle *pIndex) |
| 321 | { |
| 322 | if(pIndex->IsNullTexture() || !pIndex->IsValid()) |
| 323 | return; |
| 324 | |
| 325 | CCommandBuffer::SCommand_Texture_Destroy Cmd; |
| 326 | Cmd.m_Slot = pIndex->Id(); |
| 327 | AddCmd(Cmd); |
| 328 | |
| 329 | FreeTextureIndex(pIndex); |
| 330 | } |
| 331 | |
| 332 | IGraphics::CTextureHandle CGraphics_Threaded::LoadSpriteTexture(const CImageInfo &FromImageInfo, const CDataSprite *pSprite) |
| 333 | { |
no test coverage detected