diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 3761ec4f9e..d9d3d5fbbd 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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; diff --git a/scene_opengl.h b/scene_opengl.h index e6c00fdb6e..85b2563567 100644 --- a/scene_opengl.h +++ b/scene_opengl.h @@ -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();