diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-04 20:31:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-04 20:31:06 +0300 |
commit | 206c42f3ce294095be01caa0706581b51a17de18 (patch) | |
tree | f3459c469b50e21343a4b7964492c5ce5bc694e5 /source/blender/blenkernel | |
parent | a5f4f1e2cea831415c045be4927320dc060798c9 (diff) |
Fix compilation error with OpenSubdiv disabled
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/CCGSubSurf_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_intern.h b/source/blender/blenkernel/intern/CCGSubSurf_intern.h index e0771020350..7ec9f329444 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf_intern.h +++ b/source/blender/blenkernel/intern/CCGSubSurf_intern.h @@ -307,9 +307,11 @@ void ccgSubSurf__sync_opensubdiv(CCGSubSurf *ss); * main thread and schedule free for later free otherwise. */ +#ifdef WITH_OPENSUBDIV void ccgSubSurf__delete_osdGLMesh(struct OpenSubdiv_GLMesh *osd_mesh); void ccgSubSurf__delete_vertex_array(unsigned int vao); void ccgSubSurf__delete_pending(void); +#endif /* * CCGSubSurf_opensubdiv_converter.c * */ |