aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-25 13:16:35 -0500
committerGitHub <noreply@github.com>2018-02-25 13:16:35 -0500
commit3296365ce591ae4ba115befa8134bc2526b36710 (patch)
treee1b7a73b6d86e69b356bc8791a0b0996fa2842ad /backend/drm/drm.c
parent7da653bbb4569d41ce1a46c97e3b10c675f73741 (diff)
parent202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (diff)
Merge pull request #659 from agx/alpha
Make wlr_render_with_matrix use alpha
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index e60b7e1c..b2863414 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -647,7 +647,7 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
float matrix[16];
wlr_texture_get_matrix(plane->wlr_tex, &matrix, &plane->matrix, 0, 0);
wlr_render_with_matrix(plane->surf.renderer->wlr_rend, plane->wlr_tex,
- &matrix);
+ &matrix, 1.0f);
glFinish();
glPixelStorei(GL_UNPACK_ROW_LENGTH_EXT, bo_stride);