Replace getYInverted by the new isYInverted of parent class

This commit is contained in:
Martin Gräßlin 2011-07-05 20:42:45 +02:00
parent eae91e189c
commit c4cd4e8c96
2 changed files with 1 additions and 5 deletions

View file

@ -738,7 +738,7 @@ void SceneOpenGL::Window::makeDecorationArrays(const WindowQuadList& quads, cons
vertices << quad[ 1 ].x();
vertices << quad[ 1 ].y();
if (tex->getYInverted()) {
if (tex->isYInverted()) {
texcoords << (float)(quad.originalRight() - rect.x()) / width;
texcoords << (float)(quad.originalTop() - rect.y()) / height;
texcoords << (float)(quad.originalLeft() - rect.x()) / width;

View file

@ -121,10 +121,6 @@ public:
y_inverted = inverted;
}
bool getYInverted() const {
return y_inverted;
}
protected:
Texture(const Pixmap& pix, const QSize& size, int depth);
void findTarget();