summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-06 14:00:50 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-06 14:13:11 +0100
commitafe235a0abf9ef91a353a4d0dccf56961abd2fbf (patch)
treeabd7e818bebe53ee443856925b65b0c9cafd8db5
parent62d7d5b8cff59eb554ce90342be923b4815d18fa (diff)
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
-rw-r--r--slideshow/Library_OGLTrans.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk
index 3dce6342b411..b908a0bb3650 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,\