Revert "Handle context loss in window surface creation too"
This reverts commit e4f5278a4f.
Revert this for now until we figure out what exactly is needed for the
Windows 7 CI virtual machines.
Change-Id: Ibd5578eac1d172785fac5e94c4c5c7508f8ddb79
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
bb10
parent
d40647922b
commit
4c99d785bc
|
|
@ -430,8 +430,7 @@ void *QWindowsEGLStaticContext::createWindowSurface(void *nativeWindow, void *na
|
|||
(EGLNativeWindowType) nativeWindow, 0);
|
||||
if (surface == EGL_NO_SURFACE) {
|
||||
*err = libEGL.eglGetError();
|
||||
if (*err != EGL_CONTEXT_LOST)
|
||||
qWarning("%s: Could not create the EGL window surface: 0x%x\n", Q_FUNC_INFO, *err);
|
||||
qWarning("%s: Could not create the EGL window surface: 0x%x\n", Q_FUNC_INFO, *err);
|
||||
}
|
||||
|
||||
return surface;
|
||||
|
|
|
|||
Loading…
Reference in New Issue