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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-09-16 20:23:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-16 20:25:13 +0300
commit89de6e9eac319232366d0909cb1c39a968088672 (patch)
tree9d42fc86aa4a4ebb8540bab2e47a6afa680187dc /source
parentf0023b0dbeab8388092b399c491ce6436cac5bfb (diff)
OpenSubdiv: Fix crash caused by accessing OpenGL vendor from non-main thread
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 724c779a007..a0ac945b647 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -191,6 +191,10 @@ void WM_init(bContext *C, int argc, const char **argv)
GPU_set_anisotropic(U.anisotropic_filter);
GPU_set_gpu_mipmapping(U.use_gpu_mipmap);
+#ifdef WITH_OPENSUBDIV
+ openSubdiv_init();
+#endif
+
UI_init();
}
else {