summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_x11_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-08 15:26:33 +0100
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-10 10:53:07 +0100
commit4737daef1c8d7a181117d6482f5b57cfc433e050 (patch)
treea9b2fbe71b2eee2d0e80ad11fa4e28960c10764e /src/gui/image/qpixmap_x11_p.h
parent79a83854bcae35c22e02212a775fcbf825c1439d (diff)
Handle EGLSurfaces better, including more error detection
Note: This changes QX11PixmapData::gl_surface to a void* to enable build on 64-bit systems where EGLSurface is a pointer. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/image/qpixmap_x11_p.h')
-rw-r--r--src/gui/image/qpixmap_x11_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qpixmap_x11_p.h b/src/gui/image/qpixmap_x11_p.h
index 521a612c99..7575838163 100644
--- a/src/gui/image/qpixmap_x11_p.h
+++ b/src/gui/image/qpixmap_x11_p.h
@@ -94,7 +94,7 @@ public:
static Qt::HANDLE createBitmapFromImage(const QImage &image);
- Qt::HANDLE gl_surface;
+ void* gl_surface;
#ifndef QT_NO_XRENDER
void convertToARGB32(bool preserveContents = true);
#endif