mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -1446,7 +1446,10 @@ namespace bgfx
|
|||||||
BX_TRACE("Supported extensions:");
|
BX_TRACE("Supported extensions:");
|
||||||
for (uint32_t ii = 0; ii < Extension::Count; ++ii)
|
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
|
s_renderCtx.m_dxtSupport = true
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ namespace bgfx
|
|||||||
BX_CHECK(0 == err, #_call "; glError 0x%x %d", err, err); \
|
BX_CHECK(0 == err, #_call "; glError 0x%x %d", err, err); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#if BGFX_CONFIG_DEBUG
|
#if 0 // BGFX_CONFIG_DEBUG
|
||||||
# define GL_CHECK(_call) _call // _GL_CHECK(_call)
|
# define GL_CHECK(_call) _GL_CHECK(_call)
|
||||||
#else
|
#else
|
||||||
# define GL_CHECK(_call) _call
|
# define GL_CHECK(_call) _call
|
||||||
#endif // BGFX_CONFIG_DEBUG
|
#endif // BGFX_CONFIG_DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user