I'm sorry - I pasted that code in the wrong order. Something is
overwriting the line or maybe I'm not drawing the line correctly?

while not window.has_exit:
        clock.tick()
        window.dispatch_events()
        rabbyt.clear((0,0,0,1))
        pyglet.gl.glColor4f(0, 0, 0, 1.0)
        pyglet.graphics.draw(2, pyglet.gl.GL_LINES, ('v2i', (0, 0,
800,
600)))
        mySprite.render()
        clockDisplay.draw()
        window.flip()

On Mar 24, 4:24 am, Alex Holkner <[email protected]> wrote:
> Looks like you're calling rabbyt.clear immediately after drawing the  
> line.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to