Add Renderer::deinitGraphicsContext

This commit is contained in:
wheremyfoodat 2023-10-25 22:46:45 +03:00
parent 1313f46ba4
commit e900e9d614
11 changed files with 31 additions and 1 deletions

View file

@ -1581,3 +1581,11 @@ void RendererVK::drawVertices(PICA::PrimType primType, std::span<const PICA::Ver
}
void RendererVK::screenshot(const std::string& name) {}
void RendererVK::deinitGraphicsContext() {
// Invalidate the entire texture cache since they'll no longer be valid
textureCache.clear();
// TODO: Make it so that depth and colour buffers get written back to 3DS memory
printf("RendererVK::DeinitGraphicsContext called\n");
}