Skip to content

Commit

Permalink
Fixed broken image constructor reference
Browse files Browse the repository at this point in the history
  • Loading branch information
drwonky committed Mar 27, 2020
1 parent f9e85bf commit 71244eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions cgademo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
9 changes: 4 additions & 5 deletions egademo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 71244eb

Please sign in to comment.