diff options
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/internal/base/opensubdiv_capi.cc | 8 | ||||
-rw-r--r-- | intern/opensubdiv/stub/opensubdiv_stub.cc | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/intern/opensubdiv/internal/base/opensubdiv_capi.cc b/intern/opensubdiv/internal/base/opensubdiv_capi.cc index 430acfd4497..85f8120c76b 100644 --- a/intern/opensubdiv/internal/base/opensubdiv_capi.cc +++ b/intern/opensubdiv/internal/base/opensubdiv_capi.cc @@ -33,17 +33,17 @@ using blender::opensubdiv::GLSLTransformFeedbackDeviceContext; using blender::opensubdiv::OpenCLDeviceContext; using blender::opensubdiv::OpenMPDeviceContext; -void openSubdiv_init(void) +void openSubdiv_init() { // Ensure all OpenGL strings are cached. openSubdiv_getAvailableEvaluators(); } -void openSubdiv_cleanup(void) +void openSubdiv_cleanup() { } -int openSubdiv_getAvailableEvaluators(void) +int openSubdiv_getAvailableEvaluators() { int flags = OPENSUBDIV_EVALUATOR_CPU; @@ -70,7 +70,7 @@ int openSubdiv_getAvailableEvaluators(void) return flags; } -int openSubdiv_getVersionHex(void) +int openSubdiv_getVersionHex() { #if defined(OPENSUBDIV_VERSION_NUMBER) return OPENSUBDIV_VERSION_NUMBER; diff --git a/intern/opensubdiv/stub/opensubdiv_stub.cc b/intern/opensubdiv/stub/opensubdiv_stub.cc index 8c0b204d41a..24bdcbc79ff 100644 --- a/intern/opensubdiv/stub/opensubdiv_stub.cc +++ b/intern/opensubdiv/stub/opensubdiv_stub.cc @@ -20,20 +20,20 @@ #include <cstddef> -void openSubdiv_init(void) +void openSubdiv_init() { } -void openSubdiv_cleanup(void) +void openSubdiv_cleanup() { } -int openSubdiv_getAvailableEvaluators(void) +int openSubdiv_getAvailableEvaluators() { return 0; } -int openSubdiv_getVersionHex(void) +int openSubdiv_getVersionHex() { return 0; } |