Import Debian version 1.34

steamos-compositor (1.34) brewmaster; urgency=medium

  * Small tweak to loadargb_cursor to better handle non-premult cursors
This commit is contained in:
Pierre-Loup A. Griffais 2016-05-19 15:52:35 -07:00
parent 4769de3024
commit 9f4bc871d2
2 changed files with 20 additions and 4 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
steamos-compositor (1.34) brewmaster; urgency=medium
* Small tweak to loadargb_cursor to better handle non-premult cursors
-- Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> Thu, 19 May 2016 15:52:35 -0700
steamos-compositor (1.33) brewmaster; urgency=medium steamos-compositor (1.33) brewmaster; urgency=medium
* Prefer HDMI/DP over other types of displays. (patch by Coucouf) * Prefer HDMI/DP over other types of displays. (patch by Coucouf)

View file

@ -55,10 +55,20 @@ int main(int ac, char **av)
while (i < image->w * image->h) { while (i < image->w * image->h) {
pixel = (pixel_t *)ptr; pixel = (pixel_t *)ptr;
tmppixel.r = pixel->b; tmppixel.a = pixel->a;
tmppixel.g = pixel->g;
tmppixel.b = pixel->r; if ( tmppixel.a != 0 )
tmppixel.a = pixel->a; {
tmppixel.r = pixel->b;
tmppixel.g = pixel->g;
tmppixel.b = pixel->r;
}
else
{
tmppixel.r = 0;
tmppixel.g = 0;
tmppixel.b = 0;
}
*pixel = tmppixel; *pixel = tmppixel;