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;