diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-02-12 14:50:49 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-02-12 16:03:16 (GMT) |
commit | af1f28a0d78deee31c5df0d7d042ae7671c8c34c (patch) | |
tree | e42d9effcddda6289afbeb4d9817db68467ce308 /src/openvg | |
parent | 040151b51780084f3a2b764bab7e2359677eb0b1 (diff) | |
download | Qt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.zip Qt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.tar.gz Qt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.tar.bz2 |
Cleanup QEglContext & EGLDisplays
This basicaly replaces display(), openDisplay() & defaultDisplay()
methods with a single display() and nativeDisplay(), the latter
being implemented in the platform-specific files and everything
else being cross-platform code.
Reviewed-By: Trond
Diffstat (limited to 'src/openvg')
-rw-r--r-- | src/openvg/qwindowsurface_vgegl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/openvg/qwindowsurface_vgegl.cpp b/src/openvg/qwindowsurface_vgegl.cpp index d92870f..9c44545 100644 --- a/src/openvg/qwindowsurface_vgegl.cpp +++ b/src/openvg/qwindowsurface_vgegl.cpp @@ -225,10 +225,6 @@ static QEglContext *createContext(QPaintDevice *device) // Create the context object and open the display. context = new QEglContext(); context->setApi(QEgl::OpenVG); - if (!context->openDisplay(device)) { - delete context; - return 0; - } // Set the swap interval for the display. QByteArray interval = qgetenv("QT_VG_SWAP_INTERVAL"); |