Fixed MSVC warning.

This commit is contained in:
bkaradzic 2013-12-02 23:59:03 -08:00
parent 25002b301d
commit f5f138290e

View File

@ -2413,7 +2413,7 @@ namespace bgfx
? BGFX_CAPS_TEXTURE_3D
: 0
;
g_caps.supported |= BGFX_CONFIG_RENDERER_OPENGL|BGFX_CONFIG_RENDERER_OPENGLES3|s_extension[Extension::OES_vertex_half_float].m_supported
g_caps.supported |= !!(BGFX_CONFIG_RENDERER_OPENGL|BGFX_CONFIG_RENDERER_OPENGLES3)|s_extension[Extension::OES_vertex_half_float].m_supported
? BGFX_CAPS_VERTEX_ATTRIB_HALF
: 0
;