mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +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;
|
||||
|
||||
#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…
Add table
Add a link
Reference in a new issue