| 279 | } |
| 280 | |
| 281 | void TextBankGL33::ReleaseAllTextures() |
| 282 | { |
| 283 | LOG_DEBUG(Graphics, "GL33: Allocated before ReleaseAllTextures {}", _totalAllocated); |
| 284 | ReserveMemory(_previousUsed, 0); |
| 285 | ReserveMemory(_lastFramePartialUsed, 0); |
| 286 | ReserveMemory(_lastFrameWholeUsed, 0); |
| 287 | ReserveMemory(_thisFramePartialUsed, 0); |
| 288 | ReserveMemory(_thisFrameWholeUsed, 0); |
| 289 | LOG_DEBUG(Graphics, "GL33: Allocated after ReleaseAllTextures {}", _totalAllocated); |
| 290 | } |
| 291 | |
| 292 | bool TextBankGL33::ReserveMemory(GL33MipCacheRoot& root, int limit) |
| 293 | { |
no outgoing calls
no test coverage detected