Kaydet (Commit) 42f2f473 authored tarafından Michael Meeks's avatar Michael Meeks

libgltf: turn off openMP usage without any detection code.

Change-Id: Ic823109b812a3d99d8462cf67cd9aa87094bba06
üst d582da90
...@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libgltf,1)) ...@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libgltf,1))
$(eval $(call gb_UnpackedTarball_add_patches,libgltf,\ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
external/libgltf/patches/include_path_glew.patch \ external/libgltf/patches/include_path_glew.patch \
external/libgltf/patches/include_path_freetype.patch \ external/libgltf/patches/include_path_freetype.patch \
external/libgltf/patches/openmp-disable.patch \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
--- libgltf/src/RenderScene.h
+++ libgltf/src/RenderScene.h
@@ -16,7 +16,8 @@
#include "FPSCounter.h"
#include "Timer.h"
-#define OPENMPENABLE 1
+// Needs a configure / etc. detection to see if omp.h is on the system ...
+#define OPENMPENABLE 0
#if OPENMPENABLE
#include <omp.h>
#define WAVESIZE 4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment