diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-18 21:16:52 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-18 21:16:52 +0300 |
commit | 82921ce42002901791d786890c232dc6768c8e62 (patch) | |
tree | f4fd36aabfaf058d8abdd2b40d96520cdbc72e9a /intern/opensubdiv/opensubdiv_capi.h | |
parent | 672f2efbe68ff6e75b0994358fa0269fc7105f43 (diff) |
OpenSubdiv: Avoid having bad-level call
This is always asking for problems. Additionally, that call was leading
to OpenGL calls happening from threads.
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi.h')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.h b/intern/opensubdiv/opensubdiv_capi.h index 9d1c1b3795c..b40505b197d 100644 --- a/intern/opensubdiv/opensubdiv_capi.h +++ b/intern/opensubdiv/opensubdiv_capi.h @@ -141,10 +141,9 @@ void openSubdiv_osdGLMeshDisplay(OpenSubdiv_GLMesh *gl_mesh, /* ** Utility functions ** */ int openSubdiv_supportGPUDisplay(void); int openSubdiv_getAvailableEvaluators(void); -void openSubdiv_init(void); +void openSubdiv_init(bool gpu_legacy_support); void openSubdiv_cleanup(void); - -extern bool GPU_legacy_support(void); +bool openSubdiv_gpu_legacy_support(void); #ifdef __cplusplus } |