Fix shader. Why this worked on my nvidia card .. I'm not sure.

This commit is contained in:
Ian Curtis 2019-01-24 19:11:26 +00:00
parent 8094c2e2b7
commit f634d19fdc

View file

@ -317,7 +317,7 @@ void R3DFrameBuffers::AllocShaderWipe()
{
vec4 colBase = texture2D( texColor, fsTexCoord);
if(colBase == 0.0) {
if(colBase.a == 0.0) {
discard; // no colour pixels have been written
}