shaderc: Added error message with input source file is not found.

This commit is contained in:
Branimir Karadzic 2014-11-23 09:37:13 -08:00
parent 7dd1e263b8
commit bb0a305333

View file

@ -1900,7 +1900,11 @@ int main(int _argc, const char* _argv[])
bool compiled = false;
FILE* file = fopen(filePath, "r");
if (NULL != file)
if (NULL == file)
{
fprintf(stderr, "Unable to open file '%s'.\n", filePath);
}
else
{
VaryingMap varyingMap;