gl: undo an accidental deletion
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user