[oiio] erase plane in stream #2368

pull/2388/head
nick black 3 years ago
parent a7d54f90db
commit 53a24e1e35
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -25,6 +25,9 @@ int oiio_stream(struct notcurses* nc, ncvisual* ncv, float timescale,
memcpy(&activevopts, vopts, sizeof(*vopts));
int ncerr;
do{
if(activevopts.n){
ncplane_erase(activevopts.n); // new frame could be partially transparent
}
// decay the blitter explicitly, so that the callback knows the blitter it
// was actually rendered with
ncvgeom geom;

Loading…
Cancel
Save