mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -96,6 +96,7 @@ project "spirv-opt"
|
||||
configuration { "vs*" }
|
||||
buildoptions {
|
||||
"/wd4127", -- warning C4127: conditional expression is constant
|
||||
"/wd4267", -- warning C4267: 'argument': conversion from '' to '', possible loss of data
|
||||
"/wd4389", -- warning C4389: '==': signed/unsigned mismatch
|
||||
"/wd4702", -- warning C4702: unreachable code
|
||||
"/wd4706", -- warning C4706: assignment within conditional expression
|
||||
|
||||
@@ -533,7 +533,7 @@ namespace bgfx { namespace hlsl
|
||||
if (end.isEmpty())
|
||||
end = bx::strFind(bindDesc.Name, "Texture");
|
||||
|
||||
if (!end.isEmpty())
|
||||
if (!end.isEmpty() )
|
||||
{
|
||||
Uniform un;
|
||||
un.name.assign(bindDesc.Name, (end.getPtr() - bindDesc.Name) );
|
||||
|
||||
Reference in New Issue
Block a user