Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56a67774797aad0ff8d0c9c6caf1b7c8668f3605
      
https://github.com/WebKit/WebKit/commit/56a67774797aad0ff8d0c9c6caf1b7c8668f3605
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/egl/GLContextLibWPE.cpp

  Log Message:
  -----------
  [WPE] Build error when casting GLNativeWindowType to EGLNativeWindowType for 
target rpi4-32bits-mesa.
https://bugs.webkit.org/show_bug.cgi?id=258563

Reviewed by Michael Catanzaro.

EGLNativeWindowType changes depending on the EGL implementation, 
reinterpret_cast
would work for pointers, and static_cast for numeric types only; so use a plain
C cast expression which works in all possible cases.

The same fix is currently applied at files:
 - Source/WebKit/WebProcess/WebPage/libwpe/AcceleratedSurfaceLibWPE.cpp
 - Source/WebCore/platform/graphics/egl/GLContext.cpp

* Source/WebCore/platform/graphics/egl/GLContextLibWPE.cpp:
(WebCore::GLContext::createWindowSurfaceWPE):

Canonical link: https://commits.webkit.org/265551@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to