diff --git a/cgademo.cpp b/cgademo.cpp index 91d107e..1afa9ec 100644 --- a/cgademo.cpp +++ b/cgademo.cpp @@ -63,17 +63,16 @@ int main(void) h=hyp; printf("Building...\n"); - image box(w,h); - image boxc(w,h); - image boxd(w*2,h*2); - image boxe(w/2,h/2); + canvas box(w,h); + canvas boxc(w,h); + canvas boxd(w*2,h*2); + canvas boxe(w/2,h/2); image mytext; // mytext.setpalette(display->getpalette()); // display->graphmode(SDLVGALO); // display->initsprites(); - display->getch(); display->cls(); printf("Cleared\n"); diff --git a/egademo.cpp b/egademo.cpp index a358a0c..2bf57d9 100644 --- a/egademo.cpp +++ b/egademo.cpp @@ -62,17 +62,16 @@ int main(void) h=hyp; printf("Building...\n"); - image box(w,h); - image boxc(w,h); - image boxd(w*2,h*2); - image boxe(w/2,h/2); + canvas box(w,h); + canvas boxc(w,h); + canvas boxd(w*2,h*2); + canvas boxe(w/2,h/2); image mytext; // mytext.setpalette(display->getpalette()); // display->graphmode(SDLVGALO); // display->initsprites(); - display->getch(); display->cls(); printf("Cleared\n");