src/opengl/qglpaintdevice.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtOpenGL module of the Qt Toolkit.
     7 ** This file is part of the QtOpenGL module of the Qt Toolkit.
     8 **
     8 **
   124 }
   124 }
   125 
   125 
   126 QGLFormat QGLPaintDevice::format() const
   126 QGLFormat QGLPaintDevice::format() const
   127 {
   127 {
   128     return context()->format();
   128     return context()->format();
       
   129 }
       
   130 
       
   131 bool QGLPaintDevice::alphaRequested() const
       
   132 {
       
   133     return context()->d_func()->reqFormat.alpha();
   129 }
   134 }
   130 
   135 
   131 
   136 
   132 
   137 
   133 
   138