mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
shaderc: Fixed return value on error.
This commit is contained in:
parent
2639c5f61d
commit
e93449571d
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -1809,7 +1809,7 @@ int main(int _argc, const char* _argv[])
|
|||
if (0 != writer.open(outFilePath) )
|
||||
{
|
||||
fprintf(stderr, "Unable to open output file '%s'.", outFilePath);
|
||||
return false;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (glsl)
|
||||
|
@ -1849,7 +1849,7 @@ int main(int _argc, const char* _argv[])
|
|||
if (0 != writer->open(outFilePath) )
|
||||
{
|
||||
fprintf(stderr, "Unable to open output file '%s'.", outFilePath);
|
||||
return false;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (fragment)
|
||||
|
|
Loading…
Reference in a new issue