mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Replace verify() with ensure() with auto src location.
Expression ensure(x) returns x. Using comma operator removed.
This commit is contained in:
parent
38745e5782
commit
e055d16b2c
121 changed files with 693 additions and 690 deletions
|
@ -553,7 +553,7 @@ namespace gl
|
|||
}
|
||||
}
|
||||
|
||||
verify("Incompatible source and destination format!" HERE), real_src->aspect() == real_dst->aspect();
|
||||
ensure(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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue