Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebXR] Enable required extensions for simulator builds
https://bugs.webkit.org/show_bug.cgi?id=258836 rdar://111710240 Reviewed by Kimmo Kinnunen. There are two code paths to create a WebGL context for use by WebXR. The first is at creation time and the second upgrades an exiting WebGL context for WebXR. The second path was not requesting all the required extensions in simulator builds. This change makes both paths request the same extensions on all builds for Cocoa platforms. * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::makeXRCompatible): Canonical link: https://commits.webkit.org/265766@main
- Loading branch information