framebuffer_ng: fix gradient blit

fixes https://github.com/neutrino-mp/neutrino-mp/issues/2,
thanks satbaby


Origin commit data
------------------
Branch: ni/coolstream
Commit: e44146bf73
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-01 (Wed, 01 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-02-01 21:48:05 +01:00
parent 634c10557e
commit cd7dc7a667

View File

@@ -589,6 +589,8 @@ fb_pixel_t* CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, co
fb_pixel_t *bp = boxBuf;
fb_pixel_t *gra = gradientData->gradientBuf;
gradientData->boxBuf = boxBuf;
gradientData->x = x;
gradientData->dx = dx;
if (gradientData->direction == gradientVertical) {
// vertical