mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 23:25:40 +00:00
Fix shader. Why this worked on my nvidia card .. I'm not sure.
This commit is contained in:
parent
8094c2e2b7
commit
f634d19fdc
|
@ -317,7 +317,7 @@ void R3DFrameBuffers::AllocShaderWipe()
|
||||||
{
|
{
|
||||||
vec4 colBase = texture2D( texColor, fsTexCoord);
|
vec4 colBase = texture2D( texColor, fsTexCoord);
|
||||||
|
|
||||||
if(colBase == 0.0) {
|
if(colBase.a == 0.0) {
|
||||||
discard; // no colour pixels have been written
|
discard; // no colour pixels have been written
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue