summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpaintdevice_qws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglpaintdevice_qws.cpp')
-rw-r--r--src/opengl/qglpaintdevice_qws.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/opengl/qglpaintdevice_qws.cpp b/src/opengl/qglpaintdevice_qws.cpp
index 600efa6..8c2f27d 100644
--- a/src/opengl/qglpaintdevice_qws.cpp
+++ b/src/opengl/qglpaintdevice_qws.cpp
@@ -72,11 +72,7 @@ QWSGLPaintDevice::~QWSGLPaintDevice()
QPaintEngine* QWSGLPaintDevice::paintEngine() const
{
-#if !defined(QT_OPENGL_ES_2)
return qt_qgl_paint_engine();
-#else
- return 0; // XXX
-#endif
}
int QWSGLPaintDevice::metric(PaintDeviceMetric m) const