equal
deleted
inserted
replaced
409 /** |
409 /** |
410 * Fill in a clipped region of \a width_px pixels at the given row segment |
410 * Fill in a clipped region of \a width_px pixels at the given row segment |
411 */ |
411 */ |
412 static inline void tile_row_fill_clip (struct pt_cache *cache, png_byte *row, size_t width_px) |
412 static inline void tile_row_fill_clip (struct pt_cache *cache, png_byte *row, size_t width_px) |
413 { |
413 { |
414 // XXX: use a defined background color, or full transparency? |
414 // XXX: use a configureable background color, or full transparency? |
415 memset(row, 0, width_px * cache->header->col_bytes); |
415 memset(row, /* 0xd7 */ 0x00, width_px * cache->header->col_bytes); |
416 } |
416 } |
417 |
417 |
418 /** |
418 /** |
419 * Write raw tile image data, directly from the cache |
419 * Write raw tile image data, directly from the cache |
420 */ |
420 */ |