mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Added BGFX_CONFIG_DEBUG configurable thru compiler options.
This commit is contained in:
@@ -1074,7 +1074,7 @@ namespace bgfx
|
||||
{
|
||||
s_renderCtx.init();
|
||||
|
||||
#if BGFX_DEBUG
|
||||
#if BGFX_CONFIG_DEBUG
|
||||
GLint numCmpFormats;
|
||||
GL_CHECK(glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numCmpFormats) );
|
||||
|
||||
@@ -1100,7 +1100,7 @@ namespace bgfx
|
||||
GL_GET(GL_MAX_TEXTURE_SIZE, 64);
|
||||
GL_GET(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, 0);
|
||||
GL_GET(GL_MAX_RENDERBUFFER_SIZE, 1);
|
||||
#endif // BGFX_DEBUG
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
|
||||
const char* extensions = (const char*)glGetString(GL_EXTENSIONS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user