Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdmund Kapusniak <edmundmk>2018-06-11 21:50:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-11 22:10:24 +0300
commitc08716d3eec06eb341b7e59a65875b1bdf70708e (patch)
tree94d5d5bd66db672c758bd6abc189a0c7603cb373 /source/blender/gpu/intern/gpu_private.h
parent9520fc0ff72cb510a0991889dcbbd2010c97c16e (diff)
Fix crash with OpenGL rendering in multiple threads on macOS.
On macOS we must always go through BLI_thread_local_get/set(). Differential Revision: https://developer.blender.org/D3470
Diffstat (limited to 'source/blender/gpu/intern/gpu_private.h')
-rw-r--r--source/blender/gpu/intern/gpu_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h
index 72627e3563e..996ba9c63a1 100644
--- a/source/blender/gpu/intern/gpu_private.h
+++ b/source/blender/gpu/intern/gpu_private.h
@@ -33,4 +33,8 @@ void gpu_extensions_exit(void);
void gpu_debug_init(void);
void gpu_debug_exit(void);
+/* gpu_framebuffer.c */
+void gpu_framebuffer_module_init(void);
+void gpu_framebuffer_module_exit(void);
+
#endif /* __GPU_PRIVATE_H__ */