diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-01-26 11:46:56 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-01-26 11:46:56 +0100 |
commit | 9225ac7348c9023093b6ef8d4519087c7dddeaa2 (patch) | |
tree | 4660e25bd5cfd4a2a40b0ad97ea689c4acb22a8c /src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp | |
parent | 9d8fe2ac121162c15be6728495be2235b728325a (diff) | |
parent | 0076c44d3993f377ad6417d3bb08109b608dfbd2 (diff) |
Merge remote-tracking branch 'origin/dev' into wip/pointerhandler
Change-Id: I7962fd2282792c43af69784c8e98fb050fd928a7
Diffstat (limited to 'src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp')
-rw-r--r-- | src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp b/src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp index 80af227fb4..1f2709e06c 100644 --- a/src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp +++ b/src/plugins/scenegraph/openvg/qopenvgoffscreensurface.cpp @@ -37,10 +37,11 @@ ** ****************************************************************************/ +#include <QDebug> #include "qopenvgoffscreensurface.h" #include <QtGui/QImage> -#include <QDebug> + QT_BEGIN_NAMESPACE @@ -71,7 +72,7 @@ QOpenVGOffscreenSurface::QOpenVGOffscreenSurface(const QSize &size) m_renderTarget = eglCreatePbufferFromClientBuffer(m_display, EGL_OPENVG_IMAGE, - (EGLClientBuffer)m_image, + reinterpret_cast<EGLClientBuffer>(uintptr_t(m_image)), pbufferConfig, 0); if (m_renderTarget == EGL_NO_SURFACE) |