Cleanup.
This commit is contained in:
parent
f0a69b6aa5
commit
b0a122449c
@ -4096,6 +4096,7 @@ namespace bgfx
|
||||
|
||||
BGFX_API_FUNC(uint32_t dispatch(uint8_t _id, ProgramHandle _handle, uint16_t _numX, uint16_t _numY, uint16_t _numZ, uint8_t _flags) )
|
||||
{
|
||||
BGFX_CHECK_HANDLE_INVALID_OK("dispatch", m_programHandle, _handle);
|
||||
if (BX_ENABLED(BGFX_CONFIG_DEBUG_UNIFORM) )
|
||||
{
|
||||
m_uniformSet.clear();
|
||||
@ -4105,6 +4106,8 @@ namespace bgfx
|
||||
|
||||
BGFX_API_FUNC(uint32_t dispatch(uint8_t _id, ProgramHandle _handle, IndirectBufferHandle _indirectHandle, uint16_t _start, uint16_t _num, uint8_t _flags) )
|
||||
{
|
||||
BGFX_CHECK_HANDLE_INVALID_OK("dispatch", m_programHandle, _handle);
|
||||
BGFX_CHECK_HANDLE("dispatch", m_vertexBufferHandle, _indirectHandle);
|
||||
if (BX_ENABLED(BGFX_CONFIG_DEBUG_UNIFORM) )
|
||||
{
|
||||
m_uniformSet.clear();
|
||||
|
@ -5535,7 +5535,7 @@ namespace bgfx { namespace gl
|
||||
if (usesTextureLod)
|
||||
{
|
||||
BX_WARN(s_extension[Extension::ARB_shader_texture_lod].m_supported
|
||||
|| s_extension[Extension::EXT_shader_texture_lod].m_supported
|
||||
|| s_extension[Extension::EXT_shader_texture_lod].m_supported
|
||||
, "(ARB|EXT)_shader_texture_lod is used but not supported by GLES2 driver."
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user