[Commits] SDL: Wayland: Fixed drawing created cursors without transparency.

libsdl.org revision control commits-owner at libsdl.org
Fri Mar 11 13:22:01 PST 2016


details:   https://hg.libsdl.org/SDL/rev/6740b15172f0
changeset: 10114:6740b15172f0
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Fri Mar 11 22:10:15 2016 +0100
description:
Wayland: Fixed drawing created cursors without transparency.

diffstat:

 src/video/wayland/SDL_waylandmouse.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 991977532d7f -r 6740b15172f0 src/video/wayland/SDL_waylandmouse.c
--- a/src/video/wayland/SDL_waylandmouse.c	Fri Mar 11 22:09:50 2016 +0100
+++ b/src/video/wayland/SDL_waylandmouse.c	Fri Mar 11 22:10:15 2016 +0100
@@ -174,7 +174,7 @@
         if (create_buffer_from_shm (data,
                                     surface->w,
                                     surface->h,
-                                    WL_SHM_FORMAT_XRGB8888) < 0)
+                                    WL_SHM_FORMAT_ARGB8888) < 0)
         {
             free (cursor->driverdata);
             free (cursor);


More information about the commits mailing list