I've been wanting use test out some of the latest OpenGL 3.2 support
on my Lion MBP (last year's model). It is capable of 3.2 support.
However, I cannot seem to get 3.2 working.

I have pyglet from the hg trunk installed in a virtualenv (with a
fixed pythonw). Here is the simple pyglet code:

===
import pyglet

config = pyglet.gl.Config(major_version=3, minor_version=2,
forward_compatible = True)
window = pyglet.window.Window(config=config, visible=False)
print('OpenGL version:', window.context.get_info().get_version())
print('OpenGL 3.2 support:', window.context.get_info().have_version(3,
2))

window.close()
===

And, when I run it:


(gfx)[03:12 PM] tjk@omnia (~/Documents/teaching/graphics/src):
pythonw pyglet_ogl3.py
('OpenGL version:', '2.1 NVIDIA-7.4.10')
('OpenGL version:', False)


Pointers are appreciate.

TJK

-- 
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.

Reply via email to