diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-26 10:16:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-26 10:16:35 +0300 |
commit | df9f4c2e4f69c74291813c66580e9c763d76de3e (patch) | |
tree | 7c63d2e5b3ac10c698a9cd281afc1cc6debe6ef0 /intern/opensubdiv | |
parent | 207c360900ca2346fd01f32a8ded88fcdd5ec39f (diff) |
OpenSubdiv: Add extra checks whether GPU compute available or not
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.cc b/intern/opensubdiv/opensubdiv_capi.cc index 0192c3aa398..0b05992bea0 100644 --- a/intern/opensubdiv/opensubdiv_capi.cc +++ b/intern/opensubdiv/opensubdiv_capi.cc @@ -298,5 +298,6 @@ int openSubdiv_supportGPUDisplay(void) { return GL_EXT_geometry_shader4 && GL_ARB_gpu_shader5 && + GL_ARB_uniform_buffer_object && glProgramParameteriEXT; } |