tdf#94851 can't use OpenGLSalBitmap with WinSalGraphics
Printing is done with the WinSalGraphics and not with WinOpenGLSalGraphics on Windows even when OpenGL is enabled, but the SalBitmap is still using the OpenGLSalBitmap which can't be used with WinSalGraphics. So detect when the implementation of SalGraphic is "wrong" and convert. (cherry picked from commit 1cc30679) also includes commit: tdf#94851 use BGR color order in Windows (cherry picked from commit 8a498fad) and commit: tdf#94851 check SalBitmap & convert in all drawBitmap methods (cherry picked from commit 917d59a8) Change-Id: I67c730514a8a016c828b5cafdf6e70ddeca450ec Reviewed-on: https://gerrit.libreoffice.org/20659Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com>
Showing
Please
register
or
sign in
to comment