mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-29 23:41:05 -06:00
video_core: Apply texture filter to color surfaces (#1784)
This commit is contained in:
parent
15bdd27b9c
commit
b3fd0b6c89
@ -922,7 +922,8 @@ void Surface::Upload(const VideoCore::BufferTextureCopy& upload,
|
||||
.src_rect = upload.texture_rect,
|
||||
.dst_rect = upload.texture_rect * res_scale,
|
||||
};
|
||||
if (type != SurfaceType::Texture || !runtime->blit_helper.Filter(*this, blit)) {
|
||||
if ((type != SurfaceType::Color && type != SurfaceType::Texture) ||
|
||||
!runtime->blit_helper.Filter(*this, blit)) {
|
||||
BlitScale(blit, true);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user