pull/1499/head
nick black 3 years ago
parent 6a1e74feae
commit ad3322e4db
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -552,7 +552,7 @@ ncdirectv* ncdirect_render_frame(ncdirect* n, const char* file,
bargs.u.pixel.colorregs = n->tcache.color_registers;
int cols = lenx / bargs.u.pixel.celldimx + !!(lenx % bargs.u.pixel.celldimx);
int rows = leny / bargs.u.pixel.celldimy + !!(leny % bargs.u.pixel.celldimy);
if((bargs.u.pixel.spx = sprixel_alloc(ncdv, rows, cols)) == NULL){
if((bargs.u.pixel.spx = sprixel_alloc(ncdv, ncv, rows, cols)) == NULL){
ncvisual_destroy(ncv);
free_plane(ncdv);
return NULL;

Loading…
Cancel
Save