fix redefined CANVAS_DEBUG warning
This commit is contained in:
parent
670b1fe3e2
commit
ae9c11fb01
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user