[cleanup] TextureCache: Kill the autogen_mipmap parameter

This commit is contained in:
NeoBrainX committed 2012-10-20 21:07:02 +02:00
1 parent ee3d6d66d7
commit 069d949a57
8 files changed
+11 -24

No files matched your search

@@ -72,10 +72,9 @@ bool TextureCache::TCacheEntry::Save(const char filename[], unsigned int level)
}
void TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height,
unsigned int expanded_width, unsigned int level, bool autogen_mips)
unsigned int expanded_width, unsigned int level)
{
D3D::ReplaceTexture2D(texture, temp, width, height, expanded_width, d3d_fmt, swap_r_b, level);
// D3D9 will automatically generate mip maps if necessary
}
void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFormat,