diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-06 18:05:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-06 18:05:35 +0200 |
commit | 91666033e90d5d4ce4693a015238f4f2b030c007 (patch) | |
tree | c9ce9858707209c9c4f01c3453e4d22fe870bc8a /external/libgltf | |
parent | 8c51ef52e26766949a4eae57b8e3054f242da7f6 (diff) |
Fix patch
Change-Id: I18608380bf89822ce402e79038f2016af17b2ead
Diffstat (limited to 'external/libgltf')
-rw-r--r-- | external/libgltf/patches/extern-C.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/external/libgltf/patches/extern-C.patch b/external/libgltf/patches/extern-C.patch index fd34f8a815f7..a9eadf6ae18b 100644 --- a/external/libgltf/patches/extern-C.patch +++ b/external/libgltf/patches/extern-C.patch @@ -8,3 +8,13 @@ glm::vec3 gltf_get_model_center_pos();
/*get camera position information*/
extern "C"
+--- libgltf/src/libgltf.cpp ++++ /src/libgltf.cpp +@@ -59,7 +59,6 @@ + return;
+ }
+
+-extern "C"
+ glm::vec3 gltf_get_model_center_pos()
+ {
+ return cameraScene->getModelCenterPos();
|