fix weird alpha behavior with no lighting

This commit is contained in:
Chris Danford
2005-07-07 22:07:13 +00:00
parent f2227977b4
commit df743e9780
+5 -1
View File
@@ -1539,7 +1539,11 @@ void RageDisplay_OGL::SetMaterial(
}
else
{
glColor4fv( emissive + ambient + diffuse );
RageColor c = diffuse;
c.r += emissive.r + ambient.r;
c.g += emissive.g + ambient.g;
c.b += emissive.b + ambient.b;
glColor4fv( c );
}
}