Correct OpenGL library path on macOS.

Although the path doesn't exist on disk, dlopen seems to be previously redirecting to the correct file, but this stopped working in macOS 14.

PiperOrigin-RevId: 567684115
Change-Id: I21894302e87803d06bfd27ba123eacbdfec0ec56
This commit is contained in:
Saran Tunyasuvunakool
2023-09-22 12:08:06 -07:00
committed by Copybara-Service
parent 7f8018a3f3
commit 81c5e61b1e
+1 -1
View File
@@ -17,7 +17,7 @@
import ctypes
import enum
_CGL = ctypes.CDLL('/System/Library/OpenGL.framework/OpenGL')
_CGL = ctypes.CDLL('/System/Library/Frameworks/OpenGL.framework/OpenGL')
CGLContextObj = ctypes.c_void_p
CGLPixelFormatObj = ctypes.c_void_p