/* allocate a couple extra rows as a guard band, until we fucking fix the rasterizer */
if(!(fb_pixels = malloc(fbsize + (fb_width * fb_bpp / 8) * 2))) {
fprintf(stderr, "failed to allocate backbuffer\n");
return 1;
}
fb_pixels += fb_width;
/* allocate a couple extra rows as a guard band, until we fucking fix the rasterizer */
if(!(fb_pixels = malloc(fbsize + (fb_width * fb_bpp / 8) * 2))) {
fprintf(stderr, "failed to allocate backbuffer\n");
return 1;
}
fb_pixels += fb_width;