Native mipmap support to FTexture

This commit is contained in:
Magnus Norddahl 2016-06-21 21:55:08 +02:00
commit c235de5c22
9 changed files with 171 additions and 196 deletions

View file

@ -1064,7 +1064,7 @@ extern "C" BYTE *ds_curcolormap, *ds_cursource, *ds_curtiltedsource;
void R_SetSpanSource(FTexture *tex)
{
R_SetMipmappedSpanSource(tex);
ds_source = r_swtruecolor ? (const BYTE*)tex->GetPixelsBgra() : tex->GetPixels();
#ifdef X86_ASM
if (!r_swtruecolor && ds_cursource != ds_source)
{