mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
framebuffer_ng: fix gradient blit
fixes https://github.com/neutrino-mp/neutrino-mp/issues/2, thanks satbaby
This commit is contained in:
@@ -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 *bp = boxBuf;
|
||||||
fb_pixel_t *gra = gradientData->gradientBuf;
|
fb_pixel_t *gra = gradientData->gradientBuf;
|
||||||
gradientData->boxBuf = boxBuf;
|
gradientData->boxBuf = boxBuf;
|
||||||
|
gradientData->x = x;
|
||||||
|
gradientData->dx = dx;
|
||||||
|
|
||||||
if (gradientData->direction == gradientVertical) {
|
if (gradientData->direction == gradientVertical) {
|
||||||
// vertical
|
// vertical
|
||||||
|
Reference in New Issue
Block a user