Browse Source

* examples/aafire.c:

+ The image buffer in cacafire was too small.
tags/v0.99.beta14
Sam Hocevar sam 21 years ago
parent
commit
bb783a8e46
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/aafire.c

+ 1
- 1
examples/aafire.c View File

@@ -132,7 +132,7 @@ initialize (void)
#ifdef LIBCACA
caca_bitmap = caca_create_bitmap(8, XSIZ, YSIZ - 2, XSIZ, 0, 0, 0, 0);
caca_set_bitmap_palette(caca_bitmap, r, g, b, a);
bitmap = malloc(XSIZ * YSIZ * sizeof(char));
bitmap = malloc(4 * caca_get_width() * caca_get_height() * sizeof(char));
#else
aa_hidecursor (context);
#endif


Loading…
Cancel
Save