File: test_gles_imports.py

package info (click to toggle)
pyopengl 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,184 kB
  • ctags: 21,473
  • sloc: python: 80,468; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#! /usr/bin/env python
"""Attempt to import GLES libraries"""
import os
if not 'PYOPENGL_PLATFORM' in os.environ:
    os.environ['PYOPENGL_PLATFORM'] = 'egl'
from OpenGL.GLES1 import *
from OpenGL.GLES2 import *
from OpenGL.GLES3 import *