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:
parent
4769de3024
commit
9f4bc871d2
2 changed files with 20 additions and 4 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -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
|
||||
|
||||
* Prefer HDMI/DP over other types of displays. (patch by Coucouf)
|
||||
|
|
|
@ -55,10 +55,20 @@ int main(int ac, char **av)
|
|||
while (i < image->w * image->h) {
|
||||
pixel = (pixel_t *)ptr;
|
||||
|
||||
tmppixel.r = pixel->b;
|
||||
tmppixel.g = pixel->g;
|
||||
tmppixel.b = pixel->r;
|
||||
tmppixel.a = pixel->a;
|
||||
tmppixel.a = pixel->a;
|
||||
|
||||
if ( tmppixel.a != 0 )
|
||||
{
|
||||
tmppixel.r = pixel->b;
|
||||
tmppixel.g = pixel->g;
|
||||
tmppixel.b = pixel->r;
|
||||
}
|
||||
else
|
||||
{
|
||||
tmppixel.r = 0;
|
||||
tmppixel.g = 0;
|
||||
tmppixel.b = 0;
|
||||
}
|
||||
|
||||
*pixel = tmppixel;
|
||||
|
||||
|
|
Loading…
Reference in a new issue