mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Remove blend to black
This commit is contained in:
parent
6b6c4ec517
commit
a063ffed2e
1 changed files with 9 additions and 1 deletions
|
|
@ -900,11 +900,19 @@ static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch,
|
||||||
|
|
||||||
blendcolor = V_GetColor(translation[firsti]);
|
blendcolor = V_GetColor(translation[firsti]);
|
||||||
|
|
||||||
|
if (secondi >= translen)
|
||||||
|
mul = 0;
|
||||||
|
|
||||||
if (mul > 0) // If it's 0, then we only need the first color.
|
if (mul > 0) // If it's 0, then we only need the first color.
|
||||||
{
|
{
|
||||||
if (secondi >= translen) // blend to black
|
#if 0
|
||||||
|
if (secondi >= translen)
|
||||||
|
{
|
||||||
|
// blend to black
|
||||||
nextcolor = V_GetColor(31);
|
nextcolor = V_GetColor(31);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
nextcolor = V_GetColor(translation[secondi]);
|
nextcolor = V_GetColor(translation[secondi]);
|
||||||
|
|
||||||
// Find difference between points
|
// Find difference between points
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue