Skip to content

Commit

Permalink
Added caps vendor/device info.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Mar 27, 2015
1 parent 8a7b20a commit 53b9e90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bgfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) )
Expand Down

0 comments on commit 53b9e90

Please sign in to comment.