Tgl::Device::GetDrawnTriangleCount does not exist (FIXME: INCORRECT FIX -> Tgl::Device should be updated instead)

This commit is contained in:
Anonymous Maarten 2024-01-10 14:48:52 +01:00
parent bc1c10d3ab
commit f07c1fc245

View File

@ -195,7 +195,12 @@ double TglSurface::Render()
#ifdef _DEBUG
{
#if 0
// FIXME: Tgl::Device::GetDrawnTriangleCount does not exist
unsigned long triangleCount = m_pDevice->GetDrawnTriangleCount();
#else
unsigned long triangleCount = 0;
#endif
m_triangleRateMeter.IncreaseOperationCount(triangleCount - m_triangleCount - 1);
m_triangleCount = triangleCount;