renderer: mipmapped textures render as black when dumping textures

Issue #144
This commit is contained in:
Flyinghead 2020-12-26 22:59:20 +01:00
parent 060650e0d8
commit 7a889803fd
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ void BaseTextureCacheData::Update()
if (lock_block == nullptr)
lock_block = libCore_vramlock_Lock(sa_tex,sa+size-1,this);
UploadToGPU(upscaled_w, upscaled_h, (u8*)temp_tex_buffer, mipmapped, mipmapped);
UploadToGPU(upscaled_w, upscaled_h, (u8*)temp_tex_buffer, IsMipmapped(), mipmapped);
if (settings.rend.DumpTextures)
{
ComputeHash();