mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
shaderc: Added error message with input source file is not found.
This commit is contained in:
parent
7dd1e263b8
commit
bb0a305333
1 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue