diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-01 15:53:17 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-02 08:24:26 (GMT) |
commit | 9c1ff07b427765beb71755e964b017d8258b834e (patch) | |
tree | 6d29345397572b5f72d849d833d9f91e21af92a3 /src/gui/image/qpixmap_x11.cpp | |
parent | b2cbb880273ae6516d68be5b5f3f9b614c31ca79 (diff) | |
download | Qt-9c1ff07b427765beb71755e964b017d8258b834e.zip Qt-9c1ff07b427765beb71755e964b017d8258b834e.tar.gz Qt-9c1ff07b427765beb71755e964b017d8258b834e.tar.bz2 |
Make bindTextureFromNativePixmap use new QEgl APIs
The old qt_chooseEGLConfigForPixmap & qt_createEGLSurfaceForPixmap
code will remain until QX11GLPixmapData can be re-written properly.
Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/image/qpixmap_x11.cpp')
-rw-r--r-- | src/gui/image/qpixmap_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/image/qpixmap_x11.cpp b/src/gui/image/qpixmap_x11.cpp index b976376..5a882af 100644 --- a/src/gui/image/qpixmap_x11.cpp +++ b/src/gui/image/qpixmap_x11.cpp @@ -314,8 +314,8 @@ static int qt_pixmap_serial = 0; int Q_GUI_EXPORT qt_x11_preferred_pixmap_depth = 0; QX11PixmapData::QX11PixmapData(PixelType type) - : QPixmapData(type, X11Class), hd(0), - flags(Uninitialized), x11_mask(0), picture(0), mask_picture(0), hd2(0), gl_surface(0), + : QPixmapData(type, X11Class), gl_surface(0), hd(0), + flags(Uninitialized), x11_mask(0), picture(0), mask_picture(0), hd2(0), share_mode(QPixmap::ImplicitlyShared), pengine(0) { } |