[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - slideshow/Library_OGLTrans.mk

David Tardon dtardon at redhat.com
Mon Nov 7 15:54:26 UTC 2016


 slideshow/Library_OGLTrans.mk |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 9a6d9b2d7caa6d1ae4dd16ee0b8a8af03e9dd07f
Author: David Tardon <dtardon at redhat.com>
Date:   Sun Nov 6 14:00:50 2016 +0100

    tdf#103696 ensure glm always uses radians
    
    This is set just locally for OGLTrans, because I have no idea what the
    other places that use glm expect...
    
    Change-Id: I83675ef2463ab945cb3d6885f803dcbae60a5558
    (cherry picked from commit afe235a0abf9ef91a353a4d0dccf56961abd2fbf)
    Reviewed-on: https://gerrit.libreoffice.org/30610
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk
index db1c788..032a88c 100644
--- a/slideshow/Library_OGLTrans.mk
+++ b/slideshow/Library_OGLTrans.mk
@@ -15,6 +15,10 @@ $(eval $(call gb_Library_add_defs,OGLTrans,\
 ))
 endif
 
+$(eval $(call gb_Library_add_defs,OGLTrans,\
+    -DGLM_FORCE_RADIANS \
+))
+
 $(eval $(call gb_Library_use_sdk_api,OGLTrans))
 
 $(eval $(call gb_Library_use_libraries,OGLTrans,\


More information about the Libreoffice-commits mailing list