Show platform and screens in info.py
Show platform and screens in info.py


Index: tools/info.py
===================================================================
--- tools/info.py	(revision 534)
+++ tools/info.py	(working copy)
@@ -14,6 +14,14 @@
 import pyglet.GL.info
 import pyglet.GLU.info

+platform = pyglet.window.get_platform()
+print 'Platform instance is %r' % platform
+factory = pyglet.window.get_factory()
+print 'Screens:'
+for screen in factory.get_screens():
+    print '  %r' % screen
+
+print 'Creating default context...'
 w = pyglet.window.Window(1, 1, visible=False)

 print 'GL attributes:'

--HG--
extra : convert_revision : svn%3A14d46d22-621c-0410-bb3d-6f67920f7d95/trunk%40535

infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore