mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Added caps vendor/device info.
This commit is contained in:
parent
8a7b20a239
commit
53b9e90d21
1 changed files with 5 additions and 1 deletions
|
@ -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) )
|
||||
|
|
Loading…
Reference in a new issue