summaryrefslogtreecommitdiff
path: root/external/libgltf/patches/fmod_error_handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libgltf/patches/fmod_error_handling.patch')
-rw-r--r--external/libgltf/patches/fmod_error_handling.patch14
1 files changed, 11 insertions, 3 deletions
diff --git a/external/libgltf/patches/fmod_error_handling.patch b/external/libgltf/patches/fmod_error_handling.patch
index 6b47ca13192d..3a1329187f69 100644
--- a/external/libgltf/patches/fmod_error_handling.patch
+++ b/external/libgltf/patches/fmod_error_handling.patch
@@ -1,7 +1,15 @@
diff -ur libgltf.org/src/RenderScene.cpp libgltf/src/RenderScene.cpp
---- libgltf.org/src/RenderScene.cpp 2014-05-06 12:01:08.204238237 +0200
-+++ libgltf/src/RenderScene.cpp 2014-05-06 12:21:58.720287272 +0200
-@@ -979,7 +979,9 @@
+--- libgltf.org/src/RenderScene.cpp 2014-05-06 18:26:20.097144491 +0200
++++ libgltf/src/RenderScene.cpp 2014-05-06 18:26:26.281144733 +0200
+@@ -11,6 +11,7 @@
+ #include <glm/gtc/type_ptr.hpp>
+ #include <glm/gtc/quaternion.hpp>
+ #include <glm/gtx/quaternion.hpp>
++#include <cerrno>
+
+ RenderPrimitive::RenderPrimitive()
+ : mVerterCount(0), mIndicesCount(0)
+@@ -979,7 +980,9 @@
double RenderScene::getAnimTime()
{