Fix white pixel bug due to oversight

many thanks to indev for catching this!
This commit is contained in:
Chearii committed 2025-02-04 16:34:17 -05:00
1 parent d39e9447f3
commit ccc1c07930
1 file changed
+6 -6
+6 -6
View File
@@ -248,9 +248,9 @@ static void BlendTab_Translucent(UINT8 *table, int style, UINT8 blendamt)
if (table == NULL)
I_Error("BlendTab_Translucent: input table was NULL!");
for (bg = 0; bg < 0xFF; bg++)
for (bg = 0; bg < 0x100; bg++)
{
for (fg = 0; fg < 0xFF; fg++)
for (fg = 0; fg < 0x100; fg++)
{
RGBA_t backrgba = V_GetColor(bg);
RGBA_t frontrgba = V_GetColor(fg);
@@ -277,9 +277,9 @@ static void BlendTab_Subtractive(UINT8 *table, int style, UINT8 blendamt)
return;
}
for (bg = 0; bg < 0xFF; bg++)
for (bg = 0; bg < 0x100; bg++)
{
for (fg = 0; fg < 0xFF; fg++)
for (fg = 0; fg < 0x100; fg++)
{
RGBA_t backrgba = V_GetColor(bg);
RGBA_t frontrgba = V_GetColor(fg);
@@ -302,9 +302,9 @@ static void BlendTab_Modulative(UINT8 *table)
if (table == NULL)
I_Error("BlendTab_Modulative: input table was NULL!");
for (bg = 0; bg < 0xFF; bg++)
for (bg = 0; bg < 0x100; bg++)
{
for (fg = 0; fg < 0xFF; fg++)
for (fg = 0; fg < 0x100; fg++)
{
RGBA_t backrgba = V_GetColor(bg);
RGBA_t frontrgba = V_GetColor(fg);