aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-24 20:36:22 -0400
committerGitHub <noreply@github.com>2017-07-24 20:36:22 -0400
commit3dd6a06df0c5ea83e3edd531f0a2a4b42366d4a9 (patch)
treef7f54ddeef918ac9251396038f553638d7976777
parent13f3c69ec6fc36f04f60a6b3593320ffcbd41d18 (diff)
parenta43016b8e2ef0faa1c02b13612452d5e9ebca478 (diff)
Merge pull request #33 from acrisci/bug/fix-software-cursor
bugfix: fix cursor software rendering fallback
-rw-r--r--types/wlr_output.c2
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;