From e667ee0ced23e483aab28e458d80942d5b2ff849 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 29 May 2021 17:02:40 -0400 Subject: [PATCH] normal demo: provide explicit NCBLIT_2x1 to ncvisual_from_plane() #1490 --- src/demo/normal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/demo/normal.c b/src/demo/normal.c index fe4caaaa52..af19bafdac 100644 --- a/src/demo/normal.c +++ b/src/demo/normal.c @@ -62,9 +62,7 @@ rotate_visual(struct notcurses* nc, struct ncplane* n, int dy, int dx){ fromx = (dx - dy * 2) / 2; dx = dy * 2; } -//fprintf(stderr, "ASK %d/%d @ %d/%d: %p\n", dy, dx, fromy, fromx); - struct ncvisual* ncv = ncvisual_from_plane(n, NCBLIT_DEFAULT, fromy, fromx, dy, dx); -//fprintf(stderr, "%d/%d @ %d/%d: %p\n", dy, dx, fromy, fromx, ncv); + struct ncvisual* ncv = ncvisual_from_plane(n, NCBLIT_2x1, fromy, fromx, dy, dx); if(!ncv){ ncvisual_destroy(ncv); return -1;