diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-10 14:55:23 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-10 15:41:32 (GMT) |
commit | 9b016ce33e4d63725239945a2fcf19a8d6af14cf (patch) | |
tree | 235f031557c966cd36dc5ec8c23b4f70fc2df840 /tests/auto/qgl | |
parent | ee6c26115959f46621f5a45f3fbe4a49989fd095 (diff) | |
download | Qt-9b016ce33e4d63725239945a2fcf19a8d6af14cf.zip Qt-9b016ce33e4d63725239945a2fcf19a8d6af14cf.tar.gz Qt-9b016ce33e4d63725239945a2fcf19a8d6af14cf.tar.bz2 |
Re-enable tst_QGL::glWidgetRenderPixmap on X11/EGL
QGLWidget::renderPixmap now works under X11/EGL. Tested on both
Fremantle and Harmattan.
Reviewed-By: TrustMe
Diffstat (limited to 'tests/auto/qgl')
-rw-r--r-- | tests/auto/qgl/tst_qgl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgl/tst_qgl.cpp b/tests/auto/qgl/tst_qgl.cpp index 15c0b66..8ee494f 100644 --- a/tests/auto/qgl/tst_qgl.cpp +++ b/tests/auto/qgl/tst_qgl.cpp @@ -1402,8 +1402,8 @@ void tst_QGL::glWidgetRenderPixmap() QImage reference(fb.size(), QImage::Format_RGB32); reference.fill(0xffff0000); -#ifdef QGL_EGL - QSKIP("renderPixmap() not yet supported under EGL", SkipAll); +#if defined(QGL_EGL) && !defined(Q_WS_X11) + QSKIP("renderPixmap() not yet supported under EGL on your platform", SkipAll); #endif QFUZZY_COMPARE_IMAGES(fb, reference); |