summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-11 14:44:08 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-11 14:51:57 (GMT)
commitfc0e0198c5e7ef75d1650bca39a5f06ebddfb932 (patch)
treec0b1fb6e5f8349fb4bde83fc568775aaff2990d6 /src/gui/egl
parent82fa80a6b28ea5a4d3e245f531fea22a689c7ad3 (diff)
downloadQt-fc0e0198c5e7ef75d1650bca39a5f06ebddfb932.zip
Qt-fc0e0198c5e7ef75d1650bca39a5f06ebddfb932.tar.gz
Qt-fc0e0198c5e7ef75d1650bca39a5f06ebddfb932.tar.bz2
Delete the QGLContext in ~QX11GLPixmapData
This also includes changes which allow QGLContext to not own it's own QEglContext. With X11GL, the QEglContext gets reused by multiple QGLContexts so it is important QGLContext doesn't delete it. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/egl')
-rw-r--r--src/gui/egl/qegl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp
index 6e0331f..b870523 100644
--- a/src/gui/egl/qegl.cpp
+++ b/src/gui/egl/qegl.cpp
@@ -60,7 +60,7 @@ static QEglContext * volatile currentVGContext = 0;
QEglContext::QEglContext()
: apiType(QEgl::OpenGL)
, ctx(EGL_NO_CONTEXT)
- , cfg(0)
+ , cfg(QEGL_NO_CONFIG)
, currentSurface(EGL_NO_SURFACE)
, current(false)
, ownsContext(true)
d>2018-01-201-1/+1 | | | Fixes some redirection links in docs. * Issue #19795: Mark up True and False as literal text instead of bold.Serhiy Storchaka2016-10-191-3/+3 | * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1 | * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-5/+12 | | | | Patch by Julien Palard. * Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-2/+2 | | | | Original patch by James Edwards. * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1 | | | | to SilentGhost for the patch. * Fixed typo in documentation.Vinay Sajip2014-06-251-1/+1 | * Updated logging HOWTO section on optimization.Vinay Sajip2014-06-011-0/+15 | * Merged documentation update from 3.3.Vinay Sajip2014-01-151-1/+1 |\ | * Added cookbook entry on alternative formatting styles.Vinay Sajip2014-01-151-1/+1 | | * | Merged minor documentation update from 3.3.Vinay Sajip2013-12-06