From 81c5e61b1e375d1b88340560564cb9c737214b8f Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Fri, 22 Sep 2023 12:08:06 -0700 Subject: [PATCH] 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 --- python/mujoco/cgl/cgl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mujoco/cgl/cgl.py b/python/mujoco/cgl/cgl.py index 5a8e2b5b..3a821b9a 100644 --- a/python/mujoco/cgl/cgl.py +++ b/python/mujoco/cgl/cgl.py @@ -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