Want more features on Pastebin? Sign Up, it's FREE!
Guest

fwedsgt

By: a guest on Dec 22nd, 2012  |  syntax: None  |  size: 1.44 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. >>> import pyglet
  2. >>> window = pyglet.window.Window()
  3. Traceback (most recent call last):
  4.   File "<pyshell#1>", line 1, in <module>
  5.     window = pyglet.window.Window()
  6.   File "C:\Python33\lib\site-packages\pyglet\window\win32\__init__.py", line 131, in __init__
  7.     super(Win32Window, self).__init__(*args, **kwargs)
  8.   File "C:\Python33\lib\site-packages\pyglet\window\__init__.py", line 504, in __init__
  9.     config = screen.get_best_config(template_config)
  10.   File "C:\Python33\lib\site-packages\pyglet\canvas\base.py", line 147, in get_best_config
  11.     configs = self.get_matching_configs(template)
  12.   File "C:\Python33\lib\site-packages\pyglet\canvas\win32.py", line 33, in get_matching_configs
  13.     configs = template.match(canvas)
  14.   File "C:\Python33\lib\site-packages\pyglet\gl\win32.py", line 25, in match
  15.     return self._get_arb_pixel_format_matching_configs(canvas)
  16.   File "C:\Python33\lib\site-packages\pyglet\gl\win32.py", line 98, in _get_arb_pixel_format_matching_configs
  17.     nformats, pformats, nformats)
  18.   File "C:\Python33\lib\site-packages\pyglet\gl\lib_wgl.py", line 95, in __call__
  19.     result = self.func(*args, **kwargs)
  20.   File "C:\Python33\lib\site-packages\pyglet\gl\lib.py", line 63, in MissingFunction
  21.     raise MissingFunctionException(name, requires, suggestions)
  22. pyglet.gl.lib.MissingFunctionException: wglChoosePixelFormatARB is not exported by the available OpenGL driver.  ARB_pixel_format is required for this functionality.
clone this paste RAW Paste Data