From d0742b84e085fb1f38cd127c43da07275f5553ac Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Wed, 16 Sep 2009 08:55:41 +1000 Subject: Remove unnecessary definitions in GL pixmap filter code. The code does not use QGLShader directly any more. Reviewed-by: trustme --- src/opengl/qglpixmapfilter.cpp | 5 ----- 1 file changed, 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 @@ -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; -- cgit v0.12