}
static uint32_t
-u32(float *rgba)
+argb32(float *rgba)
{
uint32_t r[4] = { 0 };
for (int i = 0; i < 4; i++) {
wlr_buffer_drop(&(*buffer)->base);
*buffer = NULL;
}
- color = u32(rgba);
+ color = argb32(rgba);
pixmap = parse_xbm_builtin(bitmap, 6);
*buffer = buffer_create_wrap(pixmap.data, pixmap.width, pixmap.height,
pixmap.width * 4, /* free_on_destroy */ true);
wlr_buffer_drop(&(*buffer)->base);
*buffer = NULL;
}
- color = u32(rgba);
+ color = argb32(rgba);
/* Read file into memory as it's easier to tokenize that way */
char filename[4096] = { 0 };