vcl/opengl/salbmp.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit f507b1e833961b6ca3e21a4d0ea3d65776e6e87a Author: Markus Mohrhard <[email protected]> Date: Thu Nov 13 06:33:38 2014 +0100 fix 1 (salbmp.cxx) Change-Id: Ibb9854e6ab7c9f847e89f1e6c689e84ffe740e59 diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 1401fb8..686a785 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -425,7 +425,8 @@ bool OpenGLSalBitmap::ReadTexture() { GLuint nFramebufferId; sal_uInt8* pData = maUserBuffer.get(); - GLenum nFormat, nType; + GLenum nFormat = GL_RGBA; + GLenum nType = GL_UNSIGNED_BYTE; SAL_INFO( "vcl.opengl", "::ReadTexture " << mnWidth << "x" << mnHeight ); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
