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:
authorCampbell Barton <ideasman42@gmail.com>2021-07-21 17:46:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-21 17:47:29 +0300
commit581a6da8048eb4e15189633dedcbce9e04156622 (patch)
tree87381d80833bda17880e7ebff49693941439c1ec /source/blender/draw
parent63da2c4082a432379fc7fa4ed0d2c34b4cb2858d (diff)
Fix incorrect use of BLI_assert with error strings
Some asserts were never raised because of invalid checks.
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 28af1fbf79a..35072518b66 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -147,7 +147,7 @@ static bool drw_draw_show_annotation(void)
* the draw manager is only used to draw the background. */
return false;
default:
- BLI_assert("");
+ BLI_assert(0);
return false;
}
}