Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-12-07 02:47:58 +0300
committerMike Erwin <significant.bit@gmail.com>2015-12-07 02:47:58 +0300
commita048d5f945be217c0c3e90cb716bf6bb7c267097 (patch)
tree53958fec97a9d842f77247f0461ee7ab82a00640 /intern/opensubdiv/opensubdiv_capi.h
parent50df05c35cca2f26f613f3d44dd3175852da2f78 (diff)
OpenSubdiv: refine OpenGL version & extension checks
Use new GPU_legacy_support() function. Determine GLSL version once instead of per shader. For Texture Buffers, allow ARB or EXT version of the extension. Either one will do.
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi.h')
-rw-r--r--intern/opensubdiv/opensubdiv_capi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.h b/intern/opensubdiv/opensubdiv_capi.h
index 8010c39647d..9d1c1b3795c 100644
--- a/intern/opensubdiv/opensubdiv_capi.h
+++ b/intern/opensubdiv/opensubdiv_capi.h
@@ -144,6 +144,8 @@ int openSubdiv_getAvailableEvaluators(void);
void openSubdiv_init(void);
void openSubdiv_cleanup(void);
+extern bool GPU_legacy_support(void);
+
#ifdef __cplusplus
}
#endif