mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Simplify span brightmap load
This commit is contained in:
parent
b0317e7120
commit
5183d3161c
1 changed files with 1 additions and 10 deletions
|
|
@ -988,16 +988,7 @@ void R_DrawSinglePlane(visplane_t *pl)
|
||||||
|
|
||||||
if (bmNum != 0)
|
if (bmNum != 0)
|
||||||
{
|
{
|
||||||
texture_t *brightmap = textures[bmNum];
|
ds_brightmap = R_GenerateTextureAsFlat(bmNum);
|
||||||
|
|
||||||
if (brightmap->flat == NULL)
|
|
||||||
{
|
|
||||||
ds_brightmap = R_GenerateTextureAsFlat(bmNum);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ds_brightmap = (UINT8 *)brightmap->flat;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue