[Bf-blender-cvs] [df9f4c2] master: OpenSubdiv: Add extra checks whether GPU compute available or not
Sergey Sharybin
noreply at git.blender.org
Wed Aug 26 09:19:01 CEST 2015
Commit: df9f4c2e4f69c74291813c66580e9c763d76de3e
Author: Sergey Sharybin
Date: Wed Aug 26 09:16:10 2015 +0200
Branches: master
https://developer.blender.org/rBdf9f4c2e4f69c74291813c66580e9c763d76de3e
OpenSubdiv: Add extra checks whether GPU compute available or not
===================================================================
M intern/opensubdiv/opensubdiv_capi.cc
===================================================================
diff --git a/intern/opensubdiv/opensubdiv_capi.cc b/intern/opensubdiv/opensubdiv_capi.cc
index 0192c3a..0b05992 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;
}
More information about the Bf-blender-cvs
mailing list