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@blender.org>2022-02-18 12:14:34 +0300
committerSergey Sharybin <sergey@blender.org>2022-02-18 12:14:34 +0300
commit8b4da9a191b9a35c743209d38c99c000f8490501 (patch)
tree1a085eddf389c14934bd6b010a54fc647139ffb5
parentfe26d188891f95d199e2559929204fddacea2ba8 (diff)
Fix strict compilation warnings
-rw-r--r--intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc4
-rw-r--r--source/blender/draw/intern/draw_cache_impl_subdivision.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc
index ee4eaeaec5d..acf628c7035 100644
--- a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc
+++ b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc
@@ -140,8 +140,8 @@ GLStencilTableSSBO::~GLStencilTableSSBO()
GLComputeEvaluator::GLComputeEvaluator() : _workGroupSize(64), _patchArraysSSBO(0)
{
- memset(&_stencilKernel, 0, sizeof(_stencilKernel));
- memset(&_patchKernel, 0, sizeof(_patchKernel));
+ memset((void *)&_stencilKernel, 0, sizeof(_stencilKernel));
+ memset((void *)&_patchKernel, 0, sizeof(_patchKernel));
}
GLComputeEvaluator::~GLComputeEvaluator()
diff --git a/source/blender/draw/intern/draw_cache_impl_subdivision.cc b/source/blender/draw/intern/draw_cache_impl_subdivision.cc
index 60c07db90b7..e8ff9a508a2 100644
--- a/source/blender/draw/intern/draw_cache_impl_subdivision.cc
+++ b/source/blender/draw/intern/draw_cache_impl_subdivision.cc
@@ -1818,9 +1818,9 @@ static bool draw_subdiv_create_requested_buffers(const Scene *scene,
const float obmat[4][4],
const bool do_final,
const bool do_uvedit,
- const bool use_subsurf_fdots,
+ const bool /*use_subsurf_fdots*/,
const ToolSettings *ts,
- const bool use_hide,
+ const bool /*use_hide*/,
OpenSubdiv_EvaluatorCache *evaluator_cache)
{
SubsurfModifierData *smd = BKE_object_get_last_subsurf_modifier(ob);