mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Fix VisualStudio warning
This commit is contained in:
parent
5b0fea0052
commit
161d5a475e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue