mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-02 22:30:39 +00:00
gl: undo an accidental deletion
This commit is contained in:
parent
2bec304cca
commit
9c346c92f3
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ namespace gl
|
||||||
|
|
||||||
pixel_pack_settings pack_settings;
|
pixel_pack_settings pack_settings;
|
||||||
pack_settings.alignment(1);
|
pack_settings.alignment(1);
|
||||||
|
pack_settings.swap_bytes(pack_unpack_swap_bytes);
|
||||||
|
|
||||||
target_texture->copy_to(nullptr, format, type, pack_settings);
|
target_texture->copy_to(nullptr, format, type, pack_settings);
|
||||||
real_pitch = target_texture->pitch();
|
real_pitch = target_texture->pitch();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue