File: _errors.py

package info (click to toggle)
pyopengl 3.1.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,668 kB
  • sloc: python: 108,024; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
from OpenGL.platform import PLATFORM as _p
from OpenGL.error import _ErrorChecker
if _ErrorChecker:
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
else:
    _error_checker = None