mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
877cdb8b1f
commit
5f435ea56b
|
@ -563,9 +563,9 @@ namespace bgfx { namespace hlsl
|
|||
return false;
|
||||
}
|
||||
|
||||
char profileAndType[100] = {0};
|
||||
char profileAndType[8] = {};
|
||||
profileAndType[0] = (_options.shaderType == 'f') ? 'p' : _options.shaderType;
|
||||
bx::strCat(profileAndType, 100, profile);
|
||||
bx::strCat(profileAndType, BX_COUNTOF(profileAndType), profile);
|
||||
|
||||
s_compiler = load();
|
||||
|
||||
|
|
Loading…
Reference in New Issue