OpenSubdiv: Avoid having bad-level call
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 18 Dec 2015 18:16:52 +0000 (23:16 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 18 Dec 2015 18:16:52 +0000 (23:16 +0500)
commit82921ce42002901791d786890c232dc6768c8e62
treef4fd36aabfaf058d8abdd2b40d96520cdbc72e9a
parent672f2efbe68ff6e75b0994358fa0269fc7105f43
OpenSubdiv: Avoid having bad-level call

This is always asking for problems. Additionally, that call was leading
to OpenGL calls happening from threads.
intern/opensubdiv/opensubdiv_capi.cc
intern/opensubdiv/opensubdiv_capi.h
intern/opensubdiv/opensubdiv_utils_capi.cc
source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c