missed setting 'current' at the end of the pyramid gradient
This commit is contained in:
parent
2fa7129ca3
commit
9d896233ec
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ static void gradient_pyramid(RrSurface *sf, int inw, int inh)
|
||||||
|
|
||||||
NEXT(x);
|
NEXT(x);
|
||||||
}
|
}
|
||||||
|
current = COLOR(x);
|
||||||
*(data+x) = current;
|
*(data+x) = current;
|
||||||
*(data+inw-x) = current;
|
*(data+inw-x) = current;
|
||||||
*(end-x) = current;
|
*(end-x) = current;
|
||||||
|
|
Loading…
Reference in a new issue