From 0fc4a61fa0cc94c08e8e63b2d2f6bca146f036f7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 27 Sep 2016 15:42:36 -0500 Subject: [PATCH] don't render push2 layouts to PNG --- libs/surfaces/push2/canvas.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/push2/canvas.cc b/libs/surfaces/push2/canvas.cc index 12c404fb9e..611ab60aa1 100644 --- a/libs/surfaces/push2/canvas.cc +++ b/libs/surfaces/push2/canvas.cc @@ -71,8 +71,8 @@ Push2Canvas::vblank () /* something rendered, update device_frame_buffer */ blit_to_device_frame_buffer (); -#define RENDER_LAYOUTS -#ifdef RENDER_LAYOUTS +#undef RENDER_LAYOUTS +#ifdef RENDER_LAYOUTS if (p2.current_layout()) { std::string s = p2.current_layout()->name(); s += ".png"; -- 2.30.2