From f5f138290e755d5541649a36a1a32ab50da06f14 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Mon, 2 Dec 2013 23:59:03 -0800 Subject: [PATCH] Fixed MSVC warning. --- src/renderer_gl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index a38c00aa0..3b8d5f6bc 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -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 ;