|
|
@@ -555,7 +555,7 @@ static void demo_render(void) |
|
|
|
draw_circle(buffer, xo, yo, z, 0x000000ff, 200); |
|
|
|
|
|
|
|
dither = cucul_create_dither(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000); |
|
|
|
cucul_set_dither_invert(dither, 1); |
|
|
|
cucul_set_dither_gamma(dither, -1.0); |
|
|
|
cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv), cucul_get_canvas_height(cv), dither, (char *)buffer); |
|
|
|
cucul_free_dither(dither); |
|
|
|
} |
|
|
|