Skip to content

Commit 8df076f

Browse files
authored
Merge pull request #684 from emmanuel-ferdman/master
Ensure EGL ImportError includes PYOPENGL_PLATFORM value
2 parents d046f47 + 195c0df commit 8df076f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robosuite/renderers/context/egl_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
raise ImportError(
2727
"Cannot use EGL rendering platform. "
2828
"The PYOPENGL_PLATFORM environment variable is set to {!r} "
29-
"(should be either unset or 'egl')."
29+
"(should be either unset or 'egl').".format(PYOPENGL_PLATFORM)
3030
)
3131

3232
from mujoco.egl import egl_ext as EGL

0 commit comments

Comments
 (0)