avmedia/source/opengl/oglplayer.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d55b93da476499a991463a9416a97addea549669
Author: Zolnai Tamás <tamas.zol...@collabora.com>
Date:   Tue May 27 20:12:59 2014 +0200

    glTF rendering: fix texture problems
    
    It seems we need mirroring.
    
    Change-Id: Id9ad7041eb09ec773e4174cb68d34a65a2c473fe

diff --git a/avmedia/source/opengl/oglplayer.cxx 
b/avmedia/source/opengl/oglplayer.cxx
index 2536b68..af3707f 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -87,7 +87,8 @@ bool OGLPlayer::create( const OUString& rURL )
                 GraphicFilter aFilter;
                 Graphic aGraphic;
                 aFilter.ImportGraphic(aGraphic, INetURLObject(sFilesURL));
-                const BitmapEx aBitmapEx = aGraphic.GetBitmapEx();
+                BitmapEx aBitmapEx = aGraphic.GetBitmapEx();
+                aBitmapEx.Mirror(BMP_MIRROR_VERT);
                 rFile.buffer = 
(char*)OpenGLHelper::ConvertBitmapExToRGBABuffer(aBitmapEx);
                 rFile.imagewidth = aBitmapEx.GetSizePixel().Width();
                 rFile.imageheight = aBitmapEx.GetSizePixel().Height();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to