GPU: Fix shader compile error on Intel

This commit is contained in:
Connor McLaughlin 2019-09-25 20:24:19 +10:00
parent c18597c3bf
commit b9b286e93d

View File

@ -225,7 +225,7 @@ void main()
{ {
#if TEXTURED #if TEXTURED
vec4 texcol = texture(samp0, v_tex0); vec4 texcol = texture(samp0, v_tex0);
if (all(texcol == vec4(0.0, 0.0, 0.0, 0.0))) if (texcol == vec4(0.0, 0.0, 0.0, 0.0))
discard; discard;
#if BLENDING #if BLENDING