From 952ae7010954d252b080faa10ae1f4286e54468f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 3 Jul 2018 13:53:20 +0200 Subject: [PATCH] Cleanup: unused function --- intern/gawain/src/gwn_vertex_array_id.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 #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;