rsx: Improve blit format mismatch detection

This commit is contained in:
kd-11 2019-11-18 22:11:07 +03:00 committed by kd-11
parent 41c3180276
commit fd751e3e7b
2 changed files with 4 additions and 5 deletions

View file

@ -418,7 +418,7 @@ namespace gl
}
}
verify(HERE), real_src->aspect() == real_dst->aspect();
verify("Incompatible source and destination format!" HERE), real_src->aspect() == real_dst->aspect();
const bool is_depth_copy = (real_src->aspect() != image_aspect::color);
const filter interp = (linear_interpolation && !is_depth_copy) ? filter::linear : filter::nearest;