diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2016-11-09 10:32:35 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-11-09 11:29:31 +0000 |
commit | ed42212f53b2e52238346e64dae31a931d6c90a1 (patch) | |
tree | 98611a7d8211e88e9b3759b2b0a8bbc8d346872b | |
parent | cd61f3eb3df492113883d53e75233afcd6a19fab (diff) |
tdf#103758 wrong GL format for RGBA image buffers
Change-Id: I8a36234068ce0818b7baaa3b6c68d789753db6de
Reviewed-on: https://gerrit.libreoffice.org/30711
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r-- | vcl/opengl/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index bce9fb7850c0..9fb8c474818b 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; |