File: _errors.py

package info (click to toggle)
pyopengl 3.1.6%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,732 kB
  • sloc: python: 106,016; makefile: 8
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