mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
gl: Commit to a consistent global state
This commit is contained in:
parent
78746fdb6f
commit
74696d2e44
16 changed files with 147 additions and 174 deletions
|
|
@ -179,14 +179,14 @@ namespace gl
|
|||
// Combine the two transfers into one
|
||||
const coord3u src_region = { { src_x, src_y, 0 }, { src_w, src_h, 1 } };
|
||||
const coord3u dst_region = { { slice.dst_x, slice.dst_y, slice.dst_z }, { slice.dst_w, slice.dst_h, 1 } };
|
||||
gl::copy_typeless(dst_image, slice.src, dst_region, src_region);
|
||||
gl::copy_typeless(cmd, dst_image, slice.src, dst_region, src_region);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
const coord3u src_region = { { src_x, src_y, 0 }, { src_w, src_h, 1 } };
|
||||
const coord3u dst_region = { { src_x2, src_y, 0 }, { src_w2, src_h, 1 } };
|
||||
gl::copy_typeless(src_image, slice.src, dst_region, src_region);
|
||||
gl::copy_typeless(cmd, src_image, slice.src, dst_region, src_region);
|
||||
|
||||
src_x = src_x2;
|
||||
src_w = src_w2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue