diff options
author | David Tardon <dtardon@redhat.com> | 2016-11-06 14:00:50 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-08 11:56:05 +0100 |
commit | 6ac53a66d15cb6ce5122360bc922567b7e997fa0 (patch) | |
tree | d0488a5bd70cbcf268932ad012046043637cd345 /slideshow | |
parent | 0b94f88fedc68006a78a234f85ddf9694d8203f1 (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
(cherry picked from commit afe235a0abf9ef91a353a4d0dccf56961abd2fbf)
Reviewed-on: https://gerrit.libreoffice.org/30610
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 9a6d9b2d7caa6d1ae4dd16ee0b8a8af03e9dd07f)
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/Library_OGLTrans.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk index db1c7881095c..032a88c32395 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,\ |