File: osx.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 (18 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""OSX specific extensions to GLUT"""
from OpenGL import platform
from OpenGL import constant
from OpenGL.GLUT import special

GLUT_NO_RECOVERY = constant.Constant( 'GLUT_NO_RECOVERY', 1024)
GLUT_3_2_CORE_PROFILE = constant.Constant( 'GLUT_3_2_CORE_PROFILE', 2048)

glutCheckLoop = platform.createBaseFunction( 
    'glutCheckLoop', dll=platform.PLATFORM.GLUT, resultType=None, 
    argTypes=[],
    doc='glutCheckLoop(  ) -> None', 
    argNames=(),
)

glutWMCloseFunc = special.GLUTCallback(
    'WMClose', (), (),
)