mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -1060,7 +1060,7 @@ namespace bgfx
|
||||
bx::StringView eol = bx::strFind(parse, ';');
|
||||
if (eol.isEmpty() )
|
||||
{
|
||||
eol = bx::strFindEol(parse);
|
||||
eol = bx::strFindEol(bx::StringView(parse, term.getTerm() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1134,7 +1134,7 @@ namespace bgfx
|
||||
varyingMap.insert(std::make_pair(var.m_name, var) );
|
||||
}
|
||||
|
||||
parse = bx::strLTrimSpace(bx::strFindNl(eol) ).getPtr();
|
||||
parse = bx::strLTrimSpace(bx::strFindNl(bx::StringView(eol.getPtr(), term.getTerm() ) ) ).getPtr();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user