Download lib/python3.9/site-packages/OpenGL/raw/EGL/_errors.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/EGL/_errors.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/OpenGL/raw/EGL/_errors.py
-
curl -L -o _errors.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/EGL/_errors.py
255 Bytes
| from OpenGL.error import _ErrorChecker | |
| from OpenGL import platform as _p | |
| if _ErrorChecker: | |
| _error_checker = _ErrorChecker( | |
| _p.PLATFORM, | |
| _p.PLATFORM.EGL.eglGetError, | |
| 0x3000 # EGL_SUCCESS | |
| ) | |
| else: | |
| _ErrorChecker = None | |