13
0

there's no random() on window, but no matter

This commit is contained in:
Robin Gareus 2014-09-30 18:51:31 +02:00
parent 822b5443fe
commit 1bde96be09

View File

@ -113,7 +113,7 @@ Canvas::render (Rect const & area, Cairo::RefPtr<Cairo::Context> const & context
_root.render (*draw, context);
#ifdef CANVAS_DEBUG
#if defined CANVAS_DEBUG && !PLATFORM_WINDOWS
if (getenv ("CANVAS_HARLEQUIN_DEBUGGING")) {
// This transparently colors the rect being rendered, after it has been drawn.
double r = (random() % 65536) /65536.0;