summaryrefslogtreecommitdiff
path: root/src/gui/egl/qegl_wince.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-02-16 13:29:36 +0100
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-02 09:24:23 +0100
commit28b85c76dd0ba4796ec519b890f6fab0fc813061 (patch)
tree4defe4c405a29fb1c07bb4392258e8f1ccf4f0e7 /src/gui/egl/qegl_wince.cpp
parent56d32b57814cb35409bc9b0076ec753de488ae7f (diff)
downloadqt4-tools-28b85c76dd0ba4796ec519b890f6fab0fc813061.tar.gz
Move static methods from QEglContext to QEgl namespace
Reviewed-By: Aleksandar Sasha Babic
Diffstat (limited to 'src/gui/egl/qegl_wince.cpp')
-rw-r--r--src/gui/egl/qegl_wince.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/egl/qegl_wince.cpp b/src/gui/egl/qegl_wince.cpp
index 00341ba4ff..2f790051ca 100644
--- a/src/gui/egl/qegl_wince.cpp
+++ b/src/gui/egl/qegl_wince.cpp
@@ -80,16 +80,16 @@ EGLSurface QEglContext::createSurface(QPaintDevice *device, const QEglProperties
props = 0;
EGLSurface surf;
if (devType == QInternal::Widget)
- surf = eglCreateWindowSurface(dpy, cfg, windowDrawable, props);
+ surf = eglCreateWindowSurface(QEgl::display(), cfg, windowDrawable, props);
else
- surf = eglCreatePixmapSurface(dpy, cfg, pixmapDrawable, props);
+ surf = eglCreatePixmapSurface(QEgl::display(), cfg, pixmapDrawable, props);
if (surf == EGL_NO_SURFACE) {
qWarning("QEglContext::createSurface(): Unable to create EGL surface, error = 0x%x", eglGetError());
}
return surf;
}
-EGLNativeDisplayType QEglContext::nativeDisplay()
+EGLNativeDisplayType QEgl::nativeDisplay()
{
HWND win = (static_cast<QWidget*>(device))->winId();
HDC myDc = GetDC(win);