Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6
-
Windows 8.1 x64
MSVC 2013
Nokia Lumia 1520 (WinPhone 8.1)
-
-
a8455ac
Description
Steps:
1. Find & Run wiggly from creator welcome tab tutorials.
Expected: Wiggly runs on Windows Phone
Actual: Crash occurs.
Crash happens because there is no suitable EGL config thus not possible to create surface to draw.
Make it not to crash
src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp
- config.renderableType = EGL_OPENGL_ES2_BIT | ((mFeatureLevel >= D3D_FEATURE_LEVEL_10_0) ? EGL_OPENGL_ES3_BIT_KHR : 0); + config.renderableType = EGL_OPENGL_ES2_BIT | ((mFeatureLevel >= D3D_FEATURE_LEVEL_9_3) ? EGL_OPENGL_ES3_BIT_KHR : 0);
src/plugins/platforms/winrt/qwinrtbackingstore.cpp
- QSurfaceFormat format = window()->requestedFormat(); + window()->create(); + QSurfaceFormat format = window()->format();