| @@ -91,7 +91,7 @@ void img_init(img_t *img, win_t *win) |
| 91 | 91 | | img->checkpan = false; |
| 92 | 92 | | img->dirty = false; |
| 93 | 93 | | img->anti_alias = options->anti_alias; |
| 94 | | − | img->alpha = options->alpha_layer; |
| 94 | + | img->alpha_layer = options->alpha_layer; |
| 95 | 95 | | img->multi.cap = img->multi.cnt = 0; |
| 96 | 96 | | img->multi.animate = options->animate; |
| 97 | 97 | | img->multi.framedelay = options->framerate > 0 ? 1000 / options->framerate : 0; |
| @@ -763,7 +763,7 @@ void img_render(img_t *img) |
| 763 | 763 | | imlib_context_set_image(bg); |
| 764 | 764 | | imlib_image_set_has_alpha(0); |
| 765 | 765 | | |
| 766 | | − | if (img->alpha) { |
| 766 | + | if (img->alpha_layer) { |
| 767 | 767 | | int i, c, r; |
| 768 | 768 | | uint32_t col[2] = { 0xFF666666, 0xFF999999 }; |
| 769 | 769 | | uint32_t *data = imlib_image_get_data(); |