Changeset 810 for libcaca/trunk/caca/driver_raw.c
- Timestamp:
- Apr 18, 2006, 2:59:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver_raw.c
r777 r810 54 54 static void raw_display(caca_t *kk) 55 55 { 56 uint32_t *attr = kk-> qq->attr;57 uint32_t *chars = kk-> qq->chars;56 uint32_t *attr = kk->c->attr; 57 uint32_t *chars = kk->c->chars; 58 58 uint32_t w, h; 59 59 unsigned int n; 60 60 61 w = kk-> qq->width;62 h = kk-> qq->height;61 w = kk->c->width; 62 h = kk->c->height; 63 63 64 64 fprintf(stdout, "CACA%c%c%c%c%c%c%c%c", … … 66 66 (h >> 24), (h >> 16) & 0xff, (h >> 8) & 0xff, h & 0xff); 67 67 68 for(n = kk-> qq->height * kk->qq->width; n--; )68 for(n = kk->c->height * kk->c->width; n--; ) 69 69 { 70 70 uint32_t c = *chars++;
Note: See TracChangeset
for help on using the changeset viewer.