report vram usage

This commit is contained in:
Samuliak 2024-08-18 20:03:37 +02:00
parent 9bb7479d16
commit 9aa72e6295

View File

@ -215,12 +215,10 @@ bool MetalRenderer::IsPadWindowActive()
bool MetalRenderer::GetVRAMInfo(int& usageInMB, int& totalInMB) const
{
debug_printf("MetalRenderer::GetVRAMInfo not implemented\n");
usageInMB = m_device->currentAllocatedSize();
totalInMB = usageInMB;
usageInMB = 1024;
totalInMB = 1024;
return false;
return true;
}
void MetalRenderer::ClearColorbuffer(bool padView)