Browse Source

* Minor tuning to the various tests, just so that they’re releasable.

tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
8fda92b943
6 changed files with 7 additions and 5 deletions
  1. +1
    -1
      test/blit.c
  2. +1
    -1
      test/colors.c
  3. +2
    -1
      test/demo.c
  4. +1
    -0
      test/demo0.c
  5. +1
    -1
      test/dithering.c
  6. +1
    -1
      test/event.c

+ 1
- 1
test/blit.c View File

@@ -43,7 +43,7 @@ int main(int argc, char *argv[])
cucul_canvas_t *cv, *sprite;
caca_display_t *dp;

cv = cucul_create_canvas(32, 16);
cv = cucul_create_canvas(80, 24);
if(cv == NULL)
{
printf("Failed to create canvas\n");


+ 1
- 1
test/colors.c View File

@@ -28,7 +28,7 @@ int main(int argc, char **argv)
caca_display_t *dp;
int i, j;

cv = cucul_create_canvas(32, 16);
cv = cucul_create_canvas(80, 24);
if(cv == NULL)
{
printf("Failed to create canvas\n");


+ 2
- 1
test/demo.c View File

@@ -48,7 +48,7 @@ int main(int argc, char **argv)
void (*demo)(void) = NULL;
int quit = 0;

cv = cucul_create_canvas(32, 16);
cv = cucul_create_canvas(80, 24);
if(cv == NULL)
{
printf("Failed to create canvas\n");
@@ -99,6 +99,7 @@ int main(int argc, char **argv)
{
case 'q':
case 'Q':
case CACA_KEY_ESCAPE:
demo = NULL;
quit = 1;
break;


+ 1
- 0
test/demo0.c View File

@@ -92,6 +92,7 @@ int main(int argc, char **argv)
{
case 'q':
case 'Q':
case CACA_KEY_ESCAPE:
demo = NULL;
quit = 1;
break;


+ 1
- 1
test/dithering.c View File

@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
int neara, dista, nearb, distb, dist;
int x, y;

cv = cucul_create_canvas(32, 16);
cv = cucul_create_canvas(80, 24);
if(cv == NULL)
{
printf("Failed to create canvas\n");


+ 1
- 1
test/event.c View File

@@ -33,7 +33,7 @@ int main(int argc, char **argv)
caca_event_t *events;
int i, h, quit;

cv = cucul_create_canvas(32, 16);
cv = cucul_create_canvas(80, 24);
if(cv == NULL)
{
printf("Failed to create canvas\n");


Loading…
Cancel
Save