Added mipmap support for floor and ceiling
This commit is contained in:
parent
c1b5ba5b90
commit
d15af1524c
8 changed files with 150 additions and 27 deletions
|
|
@ -1062,13 +1062,13 @@ extern "C" BYTE *ds_curcolormap, *ds_cursource, *ds_curtiltedsource;
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void R_SetSpanSource(const BYTE *pixels)
|
||||
void R_SetSpanSource(FTexture *tex)
|
||||
{
|
||||
ds_source = pixels;
|
||||
R_SetMipmappedSpanSource(tex);
|
||||
#ifdef X86_ASM
|
||||
if (!r_swtruecolor && ds_cursource != ds_source)
|
||||
{
|
||||
R_SetSpanSource_ASM(pixels);
|
||||
R_SetSpanSource_ASM(ds_source);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue