[client] all: replace assert with DEBUG_ASSERT

This commit is contained in:
Quantum
2021-08-13 19:51:36 -04:00
committed by Geoffrey McRae
parent 85a96d1e06
commit 579f998519
12 changed files with 48 additions and 56 deletions

View File

@@ -119,7 +119,7 @@ void egl_desktopRectsUpdate(EGL_DesktopRects * rects, const struct DamageRects *
else
{
rects->count = data->count;
assert(rects->count <= rects->maxCount);
DEBUG_ASSERT(rects->count <= rects->maxCount);
for (int i = 0; i < rects->count; ++i)
rectToVertices(vertices + i * 8, data->rects + i);