don't render push2 layouts to PNG
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 20:42:36 +0000 (15:42 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 20:42:36 +0000 (15:42 -0500)
libs/surfaces/push2/canvas.cc

index 12c404fb9e579f851253e589f6374c2ba43e2a04..611ab60aa1eedf9e8a4796345115d6966f18c923 100644 (file)
@@ -71,8 +71,8 @@ Push2Canvas::vblank ()
                /* something rendered, update device_frame_buffer */
                blit_to_device_frame_buffer ();
 
                /* 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";
                if (p2.current_layout()) {
                        std::string s = p2.current_layout()->name();
                        s += ".png";