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:
Diffstat (limited to 'source/blender/python/gpu/gpu_py_matrix.c')
-rw-r--r--source/blender/python/gpu/gpu_py_matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_matrix.c b/source/blender/python/gpu/gpu_py_matrix.c
index df7c82379b3..b00a13d5be8 100644
--- a/source/blender/python/gpu/gpu_py_matrix.c
+++ b/source/blender/python/gpu/gpu_py_matrix.c
@@ -201,7 +201,7 @@ static PyObject *pygpu_matrix_stack_context_enter(BPyGPU_MatrixStackContext *sel
self->level = GPU_matrix_stack_level_get_projection();
}
else {
- BLI_assert(0);
+ BLI_assert_unreachable();
}
Py_RETURN_NONE;
}
@@ -234,7 +234,7 @@ static PyObject *pygpu_matrix_stack_context_exit(BPyGPU_MatrixStackContext *self
}
}
else {
- BLI_assert(0);
+ BLI_assert_unreachable();
}
finally:
Py_RETURN_NONE;