From 2dfc04e41150967c2a4c68d4d881f37ddd01c5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sun, 29 Nov 2020 10:21:20 -0800 Subject: [PATCH] Cleanup. --- src/bgfx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 05b8b5081..15ccb6639 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -1683,8 +1683,9 @@ namespace bgfx void dump(const Resolution& _resolution) { const uint32_t reset = _resolution.reset; + const uint32_t msaa = (reset&BGFX_RESET_MSAA_MASK)>>BGFX_RESET_MSAA_SHIFT; - BX_TRACE("Resolution: %d x %d, format: %s, MSAAx%d" + BX_TRACE("Resolution: %d x %d, format: %s" , _resolution.width , _resolution.height , TextureFormat::Count == _resolution.format @@ -1692,6 +1693,7 @@ namespace bgfx : bimg::getName(bimg::TextureFormat::Enum(_resolution.format) ) , 1 << ( (reset & BGFX_RESET_MSAA_MASK) >> BGFX_RESET_MSAA_SHIFT) ); + BX_TRACE("\t[%c] MSAAx%d", 0 != msaa ? 'x' : ' ', 1<