I don't know what the problem is, but perhaps it is related to your
hardware. The code works on my macbook displaying Hi! in the lower
left corner.
Cheers,
Steve
On 09/01/2008, at 10:56 PM, akinoame wrote:
>
> Hi All,
> I am trying out pyglet with simple examples, and get the following
> error:
> -------------------------------------
> indirect_vertex_array.c:1359: __indirect_glTexCoordPointer: Assertion
> `a != ((void *)0)' failed.
> -------------------------------------
>
> while running the code:
> ------------------------------------
> #! /usr/bin/env python
> from pyglet import font, window, image
> win = window.Window()
> text = font.Text(font.load('Arial', 36), 'Hi!')
> while not win.has_exit:
> win.dispatch_events()
> win.clear()
> text.draw()
> win.flip()
> ------------------------------------
>
> The same code without text.draw() works ok and displays an empty
> window.
>
> Environment: Python 2.4.3, linux (Ubuntu Dapper).
> Pyglet version: the latest from the web (2007-12-05 11:30:05Z)
>
> What may be a reason?
>
> Denis
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---