We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caadb48 commit cae03aaCopy full SHA for cae03aa
1 file changed
src/external/rlsw.h
@@ -3947,6 +3947,7 @@ static void sw_immediate_push_vertex(const float position[4])
3947
// Copy the attributes in the current vertex
3948
for (int i = 0; i < 4; i++) vertex->color[i] = RLSW.primitive.color[i];
3949
for (int i = 0; i < 2; i++) vertex->texcoord[i] = RLSW.primitive.texcoord[i];
3950
+ RLSW.primitive.hasColorAlpha |= (vertex->color[3] < 1.0f);
3951
3952
// Immediate rendering of the primitive if the required number is reached
3953
if (RLSW.primitive.vertexCount == SW_PRIMITIVE_VERTEX_COUNT[RLSW.drawMode])
0 commit comments