Added true color texture support for walls and floors

This commit is contained in:
Magnus Norddahl 2016-06-10 13:50:34 +02:00
commit 05b6fe6174
9 changed files with 506 additions and 178 deletions

View file

@ -2265,9 +2265,12 @@ const BYTE *R_GetColumn (FTexture *tex, int col)
{
col = width + (col % width);
}
return tex->GetColumn (col, NULL);
}
if (r_swtruecolor)
return (const BYTE *)tex->GetColumnBgra(col, NULL);
else
return tex->GetColumn(col, NULL);
}
// [RH] Initialize the column drawer pointers
void R_InitColumnDrawers ()