[angle] Missing definition for building the GL backend on Windows causes libEGL crash #31954
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Describe the bug
The GL backend requires a few definitions on Windows, which are specified here:
vcpkg/ports/angle/cmake-buildsystem/PlatformWin.cmake
Lines 62 to 64 in 1ba9a25
However, there's a critical one missing: https://github.com/google/angle/blob/main/src/libANGLE/renderer/gl/BUILD.gn#L19
This causes the attempt to initialize libEGL to crash with a nonsensical null pointer dereference, because the functions' addresses are never retrieved to begin with: https://bugs.chromium.org/p/angleproject/issues/detail?id=8195
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the app is launched with the
QT_ANGLE_PLATFORM
set toopengl
, the app should pass libEGL initialization, but be unable to initialize a context. (The latter is a separate ANGLE bug).Failure logs
See the associated crash on the ANGLE bug tracker.
Additional context
Currently, the app will crash in libEGL initialization.
The text was updated successfully, but these errors were encountered: