OpenSubdiv: Add extra checks whether GPU compute available or not
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 26 Aug 2015 07:16:10 +0000 (09:16 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 26 Aug 2015 07:16:35 +0000 (09:16 +0200)
intern/opensubdiv/opensubdiv_capi.cc

index 0192c3aa3988fb953be603f89e8e56b19d548649..0b05992bea0ee757806884f622ea62d193ca00af 100644 (file)
@@ -298,5 +298,6 @@ int openSubdiv_supportGPUDisplay(void)
 {
        return GL_EXT_geometry_shader4 &&
               GL_ARB_gpu_shader5 &&
+              GL_ARB_uniform_buffer_object &&
               glProgramParameteriEXT;
 }