mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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