mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 09:48:30 +12:00
report vram usage
This commit is contained in:
parent
9bb7479d16
commit
9aa72e6295
1 changed files with 3 additions and 5 deletions
|
@ -215,12 +215,10 @@ bool MetalRenderer::IsPadWindowActive()
|
||||||
|
|
||||||
bool MetalRenderer::GetVRAMInfo(int& usageInMB, int& totalInMB) const
|
bool MetalRenderer::GetVRAMInfo(int& usageInMB, int& totalInMB) const
|
||||||
{
|
{
|
||||||
debug_printf("MetalRenderer::GetVRAMInfo not implemented\n");
|
usageInMB = m_device->currentAllocatedSize();
|
||||||
|
totalInMB = usageInMB;
|
||||||
|
|
||||||
usageInMB = 1024;
|
return true;
|
||||||
totalInMB = 1024;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MetalRenderer::ClearColorbuffer(bool padView)
|
void MetalRenderer::ClearColorbuffer(bool padView)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue