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>
This commit is contained in:
committed by
Tomaž Vajngerl
parent
cd61f3eb3d
commit
ed42212f53
@@ -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;
|
||||
|
Reference in New Issue
Block a user