mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-08 06:06:43 +01:00
dosowisko: put transparent pixels in checkerboard
This commit is contained in:
parent
749da9203a
commit
76cf21daeb
1 changed files with 3 additions and 0 deletions
|
@ -162,6 +162,9 @@ void* Gamestate_Load(struct Game *game, void (*progress)(struct Game*)) {
|
|||
for (x = 0; x < al_get_bitmap_width(data->checkerboard); x=x+2) {
|
||||
for (y = 0; y < al_get_bitmap_height(data->checkerboard); y=y+2) {
|
||||
al_put_pixel(x, y, al_map_rgb(0,0,0));
|
||||
al_put_pixel(x+1, y, al_map_rgba(0,0,0,0));
|
||||
al_put_pixel(x, y+1, al_map_rgba(0,0,0,0));
|
||||
al_put_pixel(x+1, y+1, al_map_rgba(0,0,0,0));
|
||||
}
|
||||
}
|
||||
al_unlock_bitmap(data->checkerboard);
|
||||
|
|
Loading…
Reference in a new issue