[Libreoffice-commits] core.git: slideshow/Library_OGLTrans.mk

David Tardon dtardon at redhat.com
Sun Nov 6 13:14:32 UTC 2016


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

New commits:
commit afe235a0abf9ef91a353a4d0dccf56961abd2fbf
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

diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk
index 3dce634..b908a0b 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