shaderc: Fixed return value on error.

This commit is contained in:
bkaradzic 2013-10-05 18:53:15 -07:00
parent 2639c5f61d
commit e93449571d
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -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)