mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
vizdirect: use all three scaling types #759
This commit is contained in:
parent
b698efb953
commit
74b44506b6
@ -16,7 +16,13 @@ int main(void){
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
sleep(1);
|
||||
if(ncdirect_render_image(n, "../data/changes.jpg", NCBLIT_DEFAULT, NCSCALE_STRETCH) != NCERR_SUCCESS){
|
||||
printf("\n");
|
||||
if(ncdirect_render_image(n, "../data/changes.jpg", NCBLIT_DEFAULT, NCSCALE_SCALE) != NCERR_SUCCESS){
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
sleep(1);
|
||||
printf("\n");
|
||||
if(ncdirect_render_image(n, "../data/warmech.bmp", NCBLIT_DEFAULT, NCSCALE_NONE) != NCERR_SUCCESS){
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
if(ncdirect_stop(n)){
|
||||
|
Loading…
Reference in New Issue
Block a user