mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Cleanup.
This commit is contained in:
parent
4ca38cfa0e
commit
1692db32ec
1 changed files with 6 additions and 1 deletions
|
@ -1204,7 +1204,7 @@ namespace bgfx { namespace gl
|
||||||
, m_maxMsaa(0)
|
, m_maxMsaa(0)
|
||||||
, m_vao(0)
|
, m_vao(0)
|
||||||
, m_blitSupported(false)
|
, m_blitSupported(false)
|
||||||
, m_readBackSupported(false)
|
, m_readBackSupported(BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL) )
|
||||||
, m_vaoSupport(false)
|
, m_vaoSupport(false)
|
||||||
, m_samplerObjectSupport(false)
|
, m_samplerObjectSupport(false)
|
||||||
, m_shadowSamplersSupport(false)
|
, m_shadowSamplersSupport(false)
|
||||||
|
@ -1719,6 +1719,11 @@ namespace bgfx { namespace gl
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_caps.supported |= m_readBackSupported
|
||||||
|
? BGFX_CAPS_TEXTURE_READ_BACK
|
||||||
|
: 0
|
||||||
|
;
|
||||||
|
|
||||||
g_caps.maxTextureSize = uint16_t(glGet(GL_MAX_TEXTURE_SIZE) );
|
g_caps.maxTextureSize = uint16_t(glGet(GL_MAX_TEXTURE_SIZE) );
|
||||||
|
|
||||||
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL)
|
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL)
|
||||||
|
|
Loading…
Reference in a new issue