diff -r dee5afe5301f -r 3f74d0d4af4c src/opengl/qglpaintdevice.cpp --- 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(); +} +