mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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 *gra = gradientData->gradientBuf;
|
||||
gradientData->boxBuf = boxBuf;
|
||||
gradientData->x = x;
|
||||
gradientData->dx = dx;
|
||||
|
||||
if (gradientData->direction == gradientVertical) {
|
||||
// vertical
|
||||
|
Reference in New Issue
Block a user