diff --git a/drivers/gles_common/rasterizer_canvas_batcher.h b/drivers/gles_common/rasterizer_canvas_batcher.h index cc5057612..be563ed6a 100644 --- a/drivers/gles_common/rasterizer_canvas_batcher.h +++ b/drivers/gles_common/rasterizer_canvas_batcher.h @@ -683,7 +683,7 @@ public: // this should always succeed after growing batch = bdata.batches.request(); - RAST_DEBUG_ASSERT(batch); + CRASH_COND_MSG(!batch, "Out of memory"); } if (p_blank) {