On Mon, Jul 7, 2008 at 5:16 AM, altern <[EMAIL PROTECTED]> wrote:
>
> hi
>
> as far as i can see the second example in this page has an error in the code
> http://pyglet.org/doc/1.1/programming_guide/using_opengl.html
>
> $ python test.py
> Traceback (most recent call last):
>   File "test.py", line 14, in ?
>     @window.event
> NameError: name 'window' is not defined
>
> @window.event should be replaced by @win.event or variable "win" should
> be renamed as "window".
>

I believe this was already reported and fixed in trunk.

-- 
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
 d.p.s

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