gl: undo an accidental deletion

This commit is contained in:
kd-11 2019-05-05 13:04:34 +03:00 committed by kd-11
parent 2bec304cca
commit 9c346c92f3
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ namespace gl
pixel_pack_settings pack_settings;
pack_settings.alignment(1);
pack_settings.swap_bytes(pack_unpack_swap_bytes);
target_texture->copy_to(nullptr, format, type, pack_settings);
real_pitch = target_texture->pitch();