From a1dec825f9aa9d7f86d740fd420f1c084463f507 Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Thu, 24 Mar 2016 12:39:49 +0100 Subject: winrt: Skip context validation in ANGLE The flag causes context validation to be skipped by ANGLE. If validation is active nothing is rendered on Windows Phone (just a black screen) for widget applications. Everything works as expected without validation so we do without it. Change-Id: I6f9ea249b653ba5a602bc33e75105c57b686b92d Reviewed-by: Maurice Kalinowski --- src/plugins/platforms/winrt/qwinrteglcontext.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/winrt/qwinrteglcontext.cpp') diff --git a/src/plugins/platforms/winrt/qwinrteglcontext.cpp b/src/plugins/platforms/winrt/qwinrteglcontext.cpp index fc5cabc033..5c3ecd8726 100644 --- a/src/plugins/platforms/winrt/qwinrteglcontext.cpp +++ b/src/plugins/platforms/winrt/qwinrteglcontext.cpp @@ -138,6 +138,7 @@ void QWinRTEGLContext::initialize() EGL_CONTEXT_CLIENT_VERSION, d->format.majorVersion(), EGL_CONTEXT_MINOR_VERSION_KHR, d->format.minorVersion(), EGL_CONTEXT_FLAGS_KHR, flags, + EGL_CONTEXT_OPENGL_NO_ERROR_KHR, true, EGL_NONE }; d->eglContext = eglCreateContext(g->eglDisplay, d->eglConfig, d->eglShareContext, attributes); -- cgit v1.2.3