fixed Visual Studio warning in bgfx code (nw)

This commit is contained in:
Oliver Stöneberg 2015-03-17 13:57:13 +01:00
parent 7afcb3a206
commit becf4a8823

View File

@ -3921,7 +3921,7 @@ namespace bgfx
&& bx::findIdentifierMatch(code, s_ARB_shader_texture_lod)
;
bool usesIUsamplers = bx::findIdentifierMatch(code, s_uisamplers);
bool usesIUsamplers = !!bx::findIdentifierMatch(code, s_uisamplers);
uint32_t version = usesIUsamplers ? 130 : (usesTextureLod ? 120 : 0);