mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-03 05:05:45 +01:00
Texture Cache: Fix blitting.
This commit is contained in:
1 parent
0a3e7c6f14
commit
ceace57320
1 file changed
+2
-2
@@ -1157,10 +1157,10 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*
|
||||
if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||
dst_info.format = dst->info.format;
|
||||
}
|
||||
if (!dst && src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {
|
||||
if (src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {
|
||||
dst_info.format = src->info.format;
|
||||
}
|
||||
if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||
if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||
src_info.format = dst->info.format;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user