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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to