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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-08-25 16:05:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-08-25 16:11:56 +0300
commitf1e68474e051667b85ac804bded8fa2c8e0ff374 (patch)
tree9e3470179f56bff64807d944ad8af32141fcbc45 /intern/opensubdiv/opensubdiv_capi.h
parent50917edad54d2be0f5e3a6630382e28ab1fd32e0 (diff)
OpenSubdiv: Support for multiple materials in solid shading mode
Implementation is less optimal compared to non-opensubdiv drawing but it is now as good as we can do it without affecting on how patches are being created by OpenSubdiv.
Diffstat (limited to 'intern/opensubdiv/opensubdiv_capi.h')
-rw-r--r--intern/opensubdiv/opensubdiv_capi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.h b/intern/opensubdiv/opensubdiv_capi.h
index c86e739f12b..c09d0326264 100644
--- a/intern/opensubdiv/opensubdiv_capi.h
+++ b/intern/opensubdiv/opensubdiv_capi.h
@@ -135,8 +135,8 @@ void openSubdiv_osdGLMeshDisplayPrepare(int use_osd_glsl,
/* Draw patches which corresponds to a given partition. */
void openSubdiv_osdGLMeshDisplay(OpenSubdiv_GLMesh *gl_mesh,
int fill_quads,
- int start_partition,
- int num_partitions);
+ int start_patch,
+ int num_patches);
/* ** Utility functions ** */
int openSubdiv_supportGPUDisplay(void);