Fixed build.

This commit is contained in:
Бранимир Караџић 2020-10-26 12:40:40 -07:00
parent 2fee82dc56
commit f7f32319c6

View File

@ -1105,8 +1105,8 @@ namespace bgfx
{
preprocessor.setDefine(hlslDefine);
}
else if (0 != glsl)
|| (0 != essl)
else if (0 != glsl
|| 0 != essl)
{
preprocessor.setDefine(glslDefine);
}
@ -1127,8 +1127,8 @@ namespace bgfx
{
preprocessor.setDefine(hlslDefine);
}
else if (0 != glsl)
|| (0 != essl)
else if (0 != glsl
|| 0 != essl)
{
preprocessor.setDefine(glslDefine);
}