Permalink
Browse files

Minor fix for previous commit.

  • Loading branch information...
hrydgard committed Jan 3, 2018
1 parent b595039 commit 5c50c007b787426dc1ae0c9d88b2a2e5920fd8cd
Showing with 3 additions and 3 deletions.
  1. +3 −3 GPU/Common/VertexDecoderCommon.cpp
@@ -559,7 +559,7 @@ void VertexDecoder::Step_Color5551Morph() const
for (int i = 0; i < 4; i++) {
c[i] = clamp_u8((int)col[i]);
}
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] == 255;
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] >= 255;
}
void VertexDecoder::Step_Color4444Morph() const
@@ -575,7 +575,7 @@ void VertexDecoder::Step_Color4444Morph() const
for (int i = 0; i < 4; i++) {
c[i] = clamp_u8((int)col[i]);
}
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] == 255;
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] >= 255;
}
void VertexDecoder::Step_Color8888Morph() const
@@ -591,7 +591,7 @@ void VertexDecoder::Step_Color8888Morph() const
for (int i = 0; i < 4; i++) {
c[i] = clamp_u8((int)col[i]);
}
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] == 255;
gstate_c.vertexFullAlpha = gstate_c.vertexFullAlpha && (int)col[3] >= 255;
}
void VertexDecoder::Step_NormalS8() const

0 comments on commit 5c50c00

Please sign in to comment.