On Thu, Jan 22, 2009 at 3:43 AM, Andy Smith <[email protected]> wrote: > > Hi All, > > I've just been trying to get started using pyglet-1.1.2. Setup is as > follows... > > Mac OS 10.4.11 > Intel 24" iMac ( white version, pre-aluminium). > Python 2.5.2 ( "enthon" distribution ") > > I initially tried the pyglet that comes with Enthought distribution > but since it was an egg I rebuild manually so that I could debug. > > > The simple demo below fails to run. ( Stack trace from IPython is > below). > > ============================ > import pyglet > #import pyglet.window > > from pyglet.gl import Config > > config = Config(sample_buffers=1, samples=4, > depth_size=16, double_buffer=True,) > window = WindowClass(resizable=True, config=config) > > screen = pyglet.window.get_platform().get_default_display > ().get_default_screen() > > NoSuchConfigException:
This indicates that your hardware doesn't support the requested configuration (most likely the multisample options requested). You can try with samples=2, otherwise I'd suggest removing the config option entirely and making do without multisampling. Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
