diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-03 02:59:23 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-03 03:01:23 (GMT) |
commit | 2772d0455446000eb9aab882b884805d8a2a5d93 (patch) | |
tree | 13a6498c0cf9699958f64c4564409bf5f54fb75c | |
parent | 4dc364f4e94e0c5604a70edf245ae5e9b1c97eaa (diff) | |
download | Qt-2772d0455446000eb9aab882b884805d8a2a5d93.zip Qt-2772d0455446000eb9aab882b884805d8a2a5d93.tar.gz Qt-2772d0455446000eb9aab882b884805d8a2a5d93.tar.bz2 |
Suppress unnecessary "Could not re-create the temporary EGL surface" warnings
The wrong temporary surface id was being used to recreate the EGL
surface. It was "tempSurface" when it should have been -1.
Reviewed-by: Ian Walters
-rw-r--r-- | src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp index 3a94851..b0ffbf1 100644 --- a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp +++ b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp @@ -381,7 +381,7 @@ void PvrEglSurfaceHolder::removeSurface() // create the temporary surface again. if (surface == EGL_NO_SURFACE && dpy != EGL_NO_DISPLAY) { surface = eglCreateWindowSurface - (dpy, config, (EGLNativeWindowType)tempSurface, NULL); + (dpy, config, (EGLNativeWindowType)(-1), NULL); if (surface == EGL_NO_SURFACE) qWarning("Could not re-create the temporary EGL surface"); } |