diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-08-03 09:45:27 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-08-03 09:45:27 (GMT) |
commit | 23045677bc466b91619495809c97001f341a3d6c (patch) | |
tree | 2e67df9f3ee44aadb9681f672d9ba5d329b725bf /src/gui/egl/qeglproperties_p.h | |
parent | f9f91a3ce45bb3ae0d1e47337791eaf373a0e734 (diff) | |
download | Qt-23045677bc466b91619495809c97001f341a3d6c.zip Qt-23045677bc466b91619495809c97001f341a3d6c.tar.gz Qt-23045677bc466b91619495809c97001f341a3d6c.tar.bz2 |
Add a constructor to QEglProperties which takes an EGLConfig
The constructor then extracts all the attributes from the config. Useful
for dumping all the attributes for a particular config to qDebug().
Diffstat (limited to 'src/gui/egl/qeglproperties_p.h')
-rw-r--r-- | src/gui/egl/qeglproperties_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/egl/qeglproperties_p.h b/src/gui/egl/qeglproperties_p.h index 81af4cd..bcdc657 100644 --- a/src/gui/egl/qeglproperties_p.h +++ b/src/gui/egl/qeglproperties_p.h @@ -107,6 +107,7 @@ class Q_GUI_EXPORT QEglProperties { public: QEglProperties(); + QEglProperties(EGLConfig); QEglProperties(const QEglProperties& other) : props(other.props) {} ~QEglProperties() {} |