This commit is contained in:
bkaradzic 2012-06-02 00:29:13 -07:00
parent a553b28a7f
commit 25d511175b
2 changed files with 6 additions and 3 deletions

View File

@ -1446,7 +1446,10 @@ namespace bgfx
BX_TRACE("Supported extensions:");
for (uint32_t ii = 0; ii < Extension::Count; ++ii)
{
BX_TRACE("\t%2d: %s", ii, s_extension[ii].m_name);
if (s_extension[ii].m_supported)
{
BX_TRACE("\t%2d: %s", ii, s_extension[ii].m_name);
}
}
s_renderCtx.m_dxtSupport = true

View File

@ -63,8 +63,8 @@ namespace bgfx
BX_CHECK(0 == err, #_call "; glError 0x%x %d", err, err); \
} while (0)
#if BGFX_CONFIG_DEBUG
# define GL_CHECK(_call) _call // _GL_CHECK(_call)
#if 0 // BGFX_CONFIG_DEBUG
# define GL_CHECK(_call) _GL_CHECK(_call)
#else
# define GL_CHECK(_call) _call
#endif // BGFX_CONFIG_DEBUG