[Libreoffice-commits] core.git: Branch 'private/moggi/build-test' - vcl/opengl
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Nov 12 22:25:20 PST 2014
vcl/opengl/salbmp.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f507b1e833961b6ca3e21a4d0ea3d65776e6e87a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
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 );
More information about the Libreoffice-commits
mailing list