| 4770 | } |
| 4771 | |
| 4772 | void PixelGameEngine::adv_FlushLayerGPUTasks(const size_t nLayerID) |
| 4773 | { |
| 4774 | // Display Decals in order for this layer |
| 4775 | auto& layer = vLayers[nLayerID]; |
| 4776 | for (auto& decal : layer.vecGPUTasks) |
| 4777 | renderer->DoGPUTask(decal); |
| 4778 | layer.vecGPUTasks.clear(); |
| 4779 | } |
| 4780 | |
| 4781 | |
| 4782 |