mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
demo: strip some explicit NCBLIT_2x2s, use NCBLIT_DEFAULT
This commit is contained in:
parent
78e5ac670d
commit
13a9b38390
@ -186,7 +186,6 @@ int fallin_demo(struct notcurses* nc){
|
||||
struct ncvisual_options vopts = {
|
||||
.n = stdn,
|
||||
.scaling = NCSCALE_STRETCH,
|
||||
.blitter = NCBLIT_2x2,
|
||||
};
|
||||
if(ncvisual_render(nc, ncv, &vopts) == NULL){
|
||||
ncvisual_destroy(ncv);
|
||||
|
@ -195,7 +195,6 @@ int outro(struct notcurses* nc){
|
||||
}
|
||||
vopts.scaling = NCSCALE_STRETCH;
|
||||
vopts.flags = NCVISUAL_OPTION_BLEND;
|
||||
vopts.blitter = NCBLIT_2x2;
|
||||
if((vopts.n = ncvisual_render(nc, chncv, &vopts)) == NULL){
|
||||
ncvisual_destroy(chncv);
|
||||
return -1;
|
||||
|
@ -14,7 +14,6 @@ int yield_demo(struct notcurses* nc){
|
||||
}
|
||||
struct ncvisual_options vopts = {
|
||||
.n = std,
|
||||
.blitter = NCBLIT_2x2,
|
||||
.y = 1,
|
||||
.scaling = NCSCALE_STRETCH,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user