Skip to content

Commit

Permalink
Merge pull request #43 from trinitronx/fix-pixel-format-flipped-bits
Browse files Browse the repository at this point in the history
fix: #42 CSS Colors don't follow standard #RRGGBBAA  (fixes #42, closes #40)
  • Loading branch information
milgra authored Aug 31, 2023
2 parents 3b7b8c6 + 102a85f commit 214cba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kinetic_ui/ku_connector_wayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void ku_wayland_create_buffer(wl_window_t* info, int width, int height)
info->bitmap.data = info->shm_data;

struct wl_shm_pool* pool = wl_shm_create_pool(wlc.shm, fd, size);
struct wl_buffer* buffer = wl_shm_pool_create_buffer(pool, 0, width, height, stride, WL_SHM_FORMAT_ARGB8888);
struct wl_buffer* buffer = wl_shm_pool_create_buffer(pool, 0, width, height, stride, WL_SHM_FORMAT_ABGR8888);

wl_shm_pool_destroy(pool);

Expand Down

0 comments on commit 214cba5

Please sign in to comment.