implement IsPadWindowActive

This commit is contained in:
Samuliak 2024-08-24 17:30:56 +02:00
parent c4a26d4c70
commit 6bf3406793

View File

@ -206,9 +206,7 @@ void MetalRenderer::Shutdown()
// TODO: what should this do?
bool MetalRenderer::IsPadWindowActive()
{
//debug_printf("MetalRenderer::IsPadWindowActive not implemented\n");
return false;
return (GetLayer(false).GetDrawable() != nullptr);
}
bool MetalRenderer::GetVRAMInfo(int& usageInMB, int& totalInMB) const