summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/egl/qegl_stub.cpp')
-rw-r--r--src/gui/egl/qegl_stub.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/egl/qegl_stub.cpp b/src/gui/egl/qegl_stub.cpp
index 3e9ccd3861..b86f4dc2c0 100644
--- a/src/gui/egl/qegl_stub.cpp
+++ b/src/gui/egl/qegl_stub.cpp
@@ -226,7 +226,6 @@ EGLBoolean QEgl::eglSwapBuffersRegion2NOK(EGLDisplay dpy, EGLSurface surface, EG
return 0;
}
-#ifndef Q_WS_X11
EGLSurface QEgl::createSurface(QPaintDevice *device, EGLConfig cfg, const QEglProperties *properties)
{
Q_UNUSED(device)
@@ -235,7 +234,6 @@ EGLSurface QEgl::createSurface(QPaintDevice *device, EGLConfig cfg, const QEglPr
NOEGL
return 0;
}
-#endif
// Return the error string associated with a specific code.