13
0

fix redefined CANVAS_DEBUG warning

This commit is contained in:
Paul Davis 2022-06-21 17:35:01 -06:00
parent 670b1fe3e2
commit ae9c11fb01

View File

@ -110,7 +110,13 @@ Canvas::zoomed ()
}
static bool debug_render = false;
#ifndef NDEBUG
#ifdef CANVAS_DEBUG
#undef CANVAS_DEBUG
#define CANVAS_DEBUG
#endif
#endif
/** Render an area of the canvas.
* @param area Area in window coordinates.