diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-03 12:13:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-03 12:14:22 +0000 |
commit | 1458bb599ac455f62657a623c23f44c4910f2802 (patch) | |
tree | 393508fae0ee51ae84521da7fd48c786449a092c /main/directfb/0003-remove-set-gamma-ramp.patch | |
parent | 278799f02dc254890fe9ed333a75167a875e3536 (diff) | |
download | aports-1458bb599ac455f62657a623c23f44c4910f2802.tar.bz2 aports-1458bb599ac455f62657a623c23f44c4910f2802.tar.xz |
main/directfb: move from testing
needed by sdl2
Diffstat (limited to 'main/directfb/0003-remove-set-gamma-ramp.patch')
-rw-r--r-- | main/directfb/0003-remove-set-gamma-ramp.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/directfb/0003-remove-set-gamma-ramp.patch b/main/directfb/0003-remove-set-gamma-ramp.patch new file mode 100644 index 0000000000..652c5a1683 --- /dev/null +++ b/main/directfb/0003-remove-set-gamma-ramp.patch @@ -0,0 +1,23 @@ +--- a/systems/fbdev/fbdev.c ++++ b/systems/fbdev/fbdev.c +@@ -2327,14 +2327,18 @@ dfb_fbdev_set_gamma_ramp( DFBSurfacePixelFormat format ) + for (i = 0; i < blue_size; i++) + cmap->blue[i] |= cmap->blue[i] << 8; + } +- ++ /* ++ * Commenting out section setting gamma ramp ++ * per: http://directfb-users.directfb.narkive.com/fUkXSRmm/hello ++ */ ++ /* + if (FBDEV_IOCTL( FBIOPUTCMAP, cmap ) < 0) { + D_PERROR( "DirectFB/FBDev: " + "Could not set gamma ramp" ); + + return errno2result(errno); + } +- ++ */ + return DFB_OK; + } + |