bugfix: render 'sunken' gradients correctly

This commit is contained in:
Mathias Gumz 2011-02-22 15:53:18 +01:00
parent 3c7407beb4
commit b7e84104a6

View file

@ -1457,7 +1457,7 @@ Pixmap TextureRender::renderGradient(const FbTk::Texture &texture) {
// invert our width and height if necessary
translateSize(orientation, width, height);
bool inverted = texture.type() & Texture::SUNKEN;
bool inverted = texture.type() & Texture::INVERT;
const Color* from = &(texture.color());
const Color* to = &(texture.colorTo());