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

@@ -1445,9 +1445,12 @@ 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)
{
if (s_extension[ii].m_supported)
{ {
BX_TRACE("\t%2d: %s", ii, s_extension[ii].m_name); BX_TRACE("\t%2d: %s", ii, s_extension[ii].m_name);
} }
}
s_renderCtx.m_dxtSupport = true s_renderCtx.m_dxtSupport = true
&& s_extension[Extension::EXT_texture_compression_dxt1].m_supported && s_extension[Extension::EXT_texture_compression_dxt1].m_supported

View File

@@ -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