summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-15 22:55:41 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-15 22:56:33 (GMT)
commitd0742b84e085fb1f38cd127c43da07275f5553ac (patch)
tree6a8bda06c57181b7eb97d5814f10cc9755a54d4e /src/opengl
parent669afa2337ad5791502fe3af2e3de648cb60ea9b (diff)
downloadQt-d0742b84e085fb1f38cd127c43da07275f5553ac.zip
Qt-d0742b84e085fb1f38cd127c43da07275f5553ac.tar.gz
Qt-d0742b84e085fb1f38cd127c43da07275f5553ac.tar.bz2
Remove unnecessary definitions in GL pixmap filter code.
The code does not use QGLShader directly any more. Reviewed-by: trustme
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qglpixmapfilter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/opengl/qglpixmapfilter.cpp b/src/opengl/qglpixmapfilter.cpp
index 7876661..e4df69e 100644
--- a/src/opengl/qglpixmapfilter.cpp
+++ b/src/opengl/qglpixmapfilter.cpp
@@ -75,9 +75,6 @@ public:
protected:
bool processGL(QPainter *painter, const QPointF &pos, const QPixmap &pixmap, const QRectF &srcRect) const;
-
-private:
- mutable QGLShader *m_shader;
};
class QGLPixmapConvolutionFilter: public QGLPixmapFilter<QPixmapConvolutionFilter>
@@ -111,8 +108,6 @@ protected:
private:
static QByteArray generateBlurShader(int radius, bool gaussianBlur);
- mutable QGLShader *m_shader;
-
mutable QSize m_textureSize;
mutable bool m_horizontalBlur;