File: empty.py

package info (click to toggle)
python-moderngl-glcontext 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 188 kB
  • sloc: cpp: 1,373; python: 212; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class GLContext:
    def __init__(self):
        pass

    def load_opengl_function(self, name):
        return 0

    def __enter__(self):
        pass

    def __exit__(self, *args):
        pass

    def release(self):
        pass


def create_context():
    return GLContext()