summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpaintdevice_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-02-12 15:53:40 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-02-12 15:56:24 (GMT)
commit040151b51780084f3a2b764bab7e2359677eb0b1 (patch)
treec251bb56b21d1a42f0a41dbed4694ff06b6f084b /src/opengl/qglpaintdevice_p.h
parente5ee4c3c8a621c24117f004f4c137f8a531d7ea4 (diff)
downloadQt-040151b51780084f3a2b764bab7e2359677eb0b1.zip
Qt-040151b51780084f3a2b764bab7e2359677eb0b1.tar.gz
Qt-040151b51780084f3a2b764bab7e2359677eb0b1.tar.bz2
Moved 'hasAlpha' property from GL2 engine to GL paint device.
Got rid of an ugly switch statement. Reviewed-by: Tom
Diffstat (limited to 'src/opengl/qglpaintdevice_p.h')
-rw-r--r--src/opengl/qglpaintdevice_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qglpaintdevice_p.h b/src/opengl/qglpaintdevice_p.h
index 9815467..3d669da 100644
--- a/src/opengl/qglpaintdevice_p.h
+++ b/src/opengl/qglpaintdevice_p.h
@@ -75,6 +75,7 @@ public:
virtual QGLContext* context() const = 0;
virtual QGLFormat format() const;
virtual QSize size() const = 0;
+ virtual bool alphaRequested() const;
// returns the QGLPaintDevice for the given QPaintDevice
static QGLPaintDevice* getDevice(QPaintDevice*);