Cleanup.
This commit is contained in:
parent
a553b28a7f
commit
25d511175b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user