mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
fixed Visual Studio warning in bgfx code (nw)
This commit is contained in:
parent
7afcb3a206
commit
becf4a8823
2
3rdparty/bgfx/src/renderer_gl.cpp
vendored
2
3rdparty/bgfx/src/renderer_gl.cpp
vendored
@ -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 New Issue
Block a user