diff options
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi.cc')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.cc b/intern/opensubdiv/opensubdiv_capi.cc index 0a55a432cc6..bb865bc0e0f 100644 --- a/intern/opensubdiv/opensubdiv_capi.cc +++ b/intern/opensubdiv/opensubdiv_capi.cc @@ -412,19 +412,6 @@ const struct OpenSubdiv_TopologyRefinerDescr *openSubdiv_getGLMeshTopologyRefine return gl_mesh->topology_refiner; } -int openSubdiv_supportGPUDisplay(void) -{ - // TODO: simplify extension check once Blender adopts GL 3.2 - return openSubdiv_gpu_legacy_support() && - (GLEW_VERSION_3_2 || - (GLEW_VERSION_3_1 && GLEW_EXT_geometry_shader4) || - (GLEW_VERSION_3_0 && - GLEW_EXT_geometry_shader4 && - GLEW_ARB_uniform_buffer_object && - (GLEW_ARB_texture_buffer_object || GLEW_EXT_texture_buffer_object))); - /* also ARB_explicit_attrib_location? */ -} - int openSubdiv_getVersionHex(void) { #if defined(OPENSUBDIV_VERSION_NUMBER) |