Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 973843664d25524ba050bd37cabe2e44ffc0c512
https://github.com/WebKit/WebKit/commit/973843664d25524ba050bd37cabe2e44ffc0c512
Author: Adrian Perez de Castro <[email protected]>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M Source/WebCore/platform/graphics/egl/GLContext.cpp
Log Message:
-----------
[GTK] Build failure due to EGLNativeWindowType cast when GTK only has Wayland
support
https://bugs.webkit.org/show_bug.cgi?id=255846
Reviewed by Michael Catanzaro.
EGLNativeWindowType can be aliased to a different type depending on the
EGL implementation headers, and static_cast (or reinterpret_cast) may
not always work. This is similar to 194561@main, but with the conversion
being done in the opposite direction, therefore we apply the same
solution using a C style cast expression, which works in all cases.
* Source/WebCore/platform/graphics/egl/GLContext.cpp:
(WebCore::GLContext::createWindowContext): Use a plain C cast expression.
Canonical link: https://commits.webkit.org/263299@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes