diff options
-rw-r--r-- | types/wlr_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c index bec7cd5f..434a1d9a 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -206,7 +206,7 @@ bool wlr_output_set_cursor(struct wlr_output *output, output->cursor.texture = wlr_render_surface_init(output->cursor.renderer); } - wlr_surface_attach_pixels(output->cursor.texture, GL_RGBA, + wlr_surface_attach_pixels(output->cursor.texture, WL_SHM_FORMAT_XBGR8888, stride, width, height, buf); return true; |