It is my understanding that the blit method usually blits to the current 
OpenGL Context.
Can I do something like this?


window = pyglet.window.Window()
canvas = OpenGLContext()

@window.event
def on_draw():
    pyglet.gl.Context.set_current(canvas)
    some_function_that_blits_stuff()
    window.switch_to()
    canvas.blit(0, 0)


Otherwise is there any class I can use to blit everything into, before 
blitting it to the window? I don't want my game objects to blit to the 
window directly.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to