[Bf-blender-cvs] [952ae701095] blender2.8: Cleanup: unused function
Campbell Barton
noreply at git.blender.org
Tue Jul 3 13:54:08 CEST 2018
Commit: 952ae7010954d252b080faa10ae1f4286e54468f
Author: Campbell Barton
Date: Tue Jul 3 13:53:20 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB952ae7010954d252b080faa10ae1f4286e54468f
Cleanup: unused function
===================================================================
M intern/gawain/src/gwn_vertex_array_id.cpp
===================================================================
diff --git a/intern/gawain/src/gwn_vertex_array_id.cpp b/intern/gawain/src/gwn_vertex_array_id.cpp
index 5294c6c8e23..d4b89a0f62b 100644
--- a/intern/gawain/src/gwn_vertex_array_id.cpp
+++ b/intern/gawain/src/gwn_vertex_array_id.cpp
@@ -19,6 +19,7 @@
#include <unordered_set>
#if TRUST_NO_ONE
+#if 0
extern "C" {
extern int BLI_thread_is_main(void); // Blender-specific function
}
@@ -29,6 +30,7 @@ static bool thread_is_main()
return BLI_thread_is_main();
}
#endif
+#endif
struct Gwn_Context {
GLuint default_vao;
More information about the Bf-blender-cvs
mailing list