vcl/opengl/salbmp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ed42212f53b2e52238346e64dae31a931d6c90a1 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Wed Nov 9 10:32:35 2016 +0100 tdf#103758 wrong GL format for RGBA image buffers Change-Id: I8a36234068ce0818b7baaa3b6c68d789753db6de Reviewed-on: https://gerrit.libreoffice.org/30711 Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> Tested-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index bce9fb7..9fb8c47 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -64,7 +64,7 @@ inline bool determineTextureFormat(sal_uInt16 nBits, GLenum& nFormat, GLenum& nT return true; case 32: nFormat = GL_RGBA; - nType = GL_UNSIGNED_INT_8_8_8_8; + nType = GL_UNSIGNED_BYTE; return true; default: break;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits