mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix redefined CANVAS_DEBUG warning
This commit is contained in:
parent
670b1fe3e2
commit
ae9c11fb01
1 changed files with 6 additions and 0 deletions
|
|
@ -110,7 +110,13 @@ Canvas::zoomed ()
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool debug_render = false;
|
static bool debug_render = false;
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#ifdef CANVAS_DEBUG
|
||||||
|
#undef CANVAS_DEBUG
|
||||||
#define CANVAS_DEBUG
|
#define CANVAS_DEBUG
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Render an area of the canvas.
|
/** Render an area of the canvas.
|
||||||
* @param area Area in window coordinates.
|
* @param area Area in window coordinates.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue