mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
video_core: Apply texture filter to color surfaces (#1784)
This commit is contained in:
parent
15bdd27b9c
commit
b3fd0b6c89
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue