Skip to content

Commit

Permalink
[angle] Fix crash on macos microsoft#29622
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhuai committed Apr 28, 2023
1 parent 1877126 commit 0938830
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ports/angle/cmake-buildsystem/PlatformMac.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ endif()

# OpenGL backend
if(USE_OPENGL)
list(APPEND ANGLE_SOURCES
${angle_translator_glsl_base_sources}
${angle_translator_glsl_sources}
${angle_translator_apple_sources}
)
# Enable GLSL compiler output.
list(APPEND ANGLE_DEFINITIONS ANGLE_ENABLE_GLSL)
list(APPEND ANGLE_DEFINITIONS ANGLE_ENABLE_GLSL ANGLE_ENABLE_GL_DESKTOP_BACKEND ANGLE_ENABLE_APPLE_WORKAROUNDS)
endif()

if(USE_ANGLE_EGL OR ENABLE_WEBGL)
Expand Down
2 changes: 1 addition & 1 deletion ports/angle/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angle",
"version-string": "chromium_5414",
"port-version": 1,
"port-version": 2,
"description": [
"A conformant OpenGL ES implementation for Windows, Mac and Linux.",
"The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support."
Expand Down

0 comments on commit 0938830

Please sign in to comment.