glslang portability: Fixed a slew of OSX compilation warnings (but not all).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31469 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
79eaa91e6f
commit
fae38ee277
12 changed files with 83 additions and 75 deletions
|
|
@ -980,6 +980,8 @@ void FreeFileData(char** data)
|
|||
|
||||
void InfoLogMsg(const char* msg, const char* name, const int num)
|
||||
{
|
||||
printf(num >= 0 ? "#### %s %s %d INFO LOG ####\n" :
|
||||
"#### %s %s INFO LOG ####\n", msg, name, num);
|
||||
if (num >= 0 )
|
||||
printf("#### %s %s %d INFO LOG ####\n", msg, name, num);
|
||||
else
|
||||
printf("#### %s %s INFO LOG ####\n", msg, name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue