|
|
@@ -52,8 +52,18 @@ int main(int argc, char **argv) |
|
|
|
|
|
|
|
cv = cucul_create_canvas(0, 0); |
|
|
|
app = cucul_create_canvas(0, 0); |
|
|
|
|
|
|
|
if(cv == NULL || app == NULL) |
|
|
|
{ |
|
|
|
printf("Can't created canvas\n"); |
|
|
|
return -1; |
|
|
|
} |
|
|
|
dp = caca_create_display(cv); |
|
|
|
if(dp == NULL) |
|
|
|
{ |
|
|
|
printf("Can't create display\n"); |
|
|
|
return -1; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for(;;) |
|
|
|
{ |
|
|
|