Merge branch 'master' into blender2.8
[blender.git] / intern / opensubdiv / opensubdiv_capi.cc
index 0a55a432cc69431ff86b00c8e193256bf45ad500..bb865bc0e0f1e950cf37590f8f5b5e3e57998140 100644 (file)
@@ -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)