mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Cleanup.
This commit is contained in:
parent
cea3815dff
commit
6878b8de29
1 changed files with 1 additions and 2 deletions
|
@ -535,10 +535,9 @@ bool compileHLSLShader(bx::CommandLine& _cmdLine, uint32_t _d3d, const std::stri
|
|||
|
||||
// matching lines like: uniform u_name;
|
||||
// we want to replace "uniform" with "static" so that it's no longer
|
||||
// included in the uniform blob that the application must upload x
|
||||
// included in the uniform blob that the application must upload
|
||||
// we can't just remove them, because unused functions might still reference
|
||||
// them and cause a compile error when they're gone
|
||||
;
|
||||
if (!!bx::findIdentifierMatch(line.c_str(), it->c_str() ) )
|
||||
{
|
||||
line = line.replace(index, strLength, "static");
|
||||
|
|
Loading…
Reference in a new issue