src/opengl/qglpaintdevice.cpp
branchRCL_3
changeset 7 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/opengl/qglpaintdevice.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/opengl/qglpaintdevice.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -128,6 +128,11 @@
     return context()->format();
 }
 
+bool QGLPaintDevice::alphaRequested() const
+{
+    return context()->d_func()->reqFormat.alpha();
+}
+