mirror of https://github.com/bkaradzic/bgfx
shaderc: Fixed issue #768.
This commit is contained in:
parent
5aad5b12ef
commit
3be0c4091f
|
@ -1084,7 +1084,7 @@ void domsg(struct Global *global,
|
|||
;
|
||||
tp = file ? file->filename : 0;
|
||||
Error(global, "%s\"%s\", line %d: %s: ",
|
||||
MSG_PREFIX, tp, global->infile->fp?global->line:file->line, severity);
|
||||
MSG_PREFIX, tp, global->infile?global->line:(file?file->line:0), severity);
|
||||
if(global->error)
|
||||
global->error(global->userdata, ErrorMessage[error], arg);
|
||||
#if defined(UNIX)
|
||||
|
|
Loading…
Reference in New Issue