1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Show active HW buffers in profiler

This commit is contained in:
sfan5 2024-12-26 15:41:45 +01:00
parent b50b619be7
commit d884a1624f
4 changed files with 7 additions and 5 deletions

View file

@ -588,7 +588,7 @@ protected:
inline void accountHWBufferUpload(u32 size)
{
FrameStats.HWBuffersUploaded++;
FrameStats.HWBuffersUploadedSize += size;
(void)size;
}
inline bool getWriteZBuffer(const SMaterial &material) const