From 53b9e90d21366fc33176889102792adc8dd82e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 26 Mar 2015 19:39:55 -0700 Subject: [PATCH] Added caps vendor/device info. --- src/bgfx.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 1a7e59d5..232ab2df 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -888,7 +888,11 @@ namespace bgfx static void dumpCaps() { - BX_TRACE("Supported capabilities (%s):", s_ctx->m_renderCtx->getRendererName() ); + BX_TRACE("Supported capabilities (renderer %s, vendor 0x%04x, device 0x%04x):" + , s_ctx->m_renderCtx->getRendererName() + , g_caps.vendorId + , g_caps.deviceId + ); for (uint32_t ii = 0; ii < BX_COUNTOF(s_capsFlags); ++ii) { if (0 != (g_caps.supported & s_capsFlags[ii].m_flag) )