diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 20:23:07 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 20:25:13 +0300 |
commit | 89de6e9eac319232366d0909cb1c39a968088672 (patch) | |
tree | 9d42fc86aa4a4ebb8540bab2e47a6afa680187dc /source/blender/windowmanager | |
parent | f0023b0dbeab8388092b399c491ce6436cac5bfb (diff) |
OpenSubdiv: Fix crash caused by accessing OpenGL vendor from non-main thread
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 4 |
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 { |