[Libreoffice-commits] core.git: Branch 'feature/fixes19' - vcl/opengl
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Wed Apr 6 09:42:43 UTC 2016
vcl/opengl/texture.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7aadf84225350df2e6814f57b7a27c5d39b0f7ef
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Wed Apr 6 18:41:27 2016 +0900
opengl: really use GL_BGRA as default backend format on WNT
Change-Id: I9e82f8aa1224ed85c054a1bc8482ebf1b9adb81f
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index 0a83661..68d10a9 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -33,9 +33,9 @@
namespace
{
#ifdef WNT
-const GLenum constDefaultBackendFormat = GL_RGBA;
-#else
const GLenum constDefaultBackendFormat = GL_BGRA;
+#else
+const GLenum constDefaultBackendFormat = GL_RGBA;
#endif
} // end anonymous namespace
More information about the Libreoffice-commits
mailing list