opengl: take row stride into account when reading to 1-bit bitmap
Opengl doesn't support 1-bit bitmaps so we read back the texture as RGB bitmap and transform it to 1-bit bitmap. Previously the implementation did this but naively by converting the buffer without taking row strides into account. Now on row change the writing is reset into a new byte. (cherry picked from commit 11b2e2e8) Change-Id: Iaa67b209d5b6ab0d9c567a71dee0684a85f53f6b Reviewed-on: https://gerrit.libreoffice.org/19161Reviewed-by:Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com>
Showing
Please
register
or
sign in
to comment