mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
gl: Implement row alignment in CopyBufferToImage routines
This commit is contained in:
parent
9cc15be7f2
commit
1483941bea
4 changed files with 6 additions and 4 deletions
|
|
@ -856,6 +856,7 @@ namespace gl
|
|||
if (driver_caps.ARB_compute_shader_supported)
|
||||
{
|
||||
// 0. Preconf
|
||||
mem_layout.alignment = caps.alignment;
|
||||
mem_layout.swap_bytes = op.require_swap;
|
||||
mem_layout.format = gl_format;
|
||||
mem_layout.type = gl_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue