On 10/26/07, Pete Shinners <[EMAIL PROTECTED]> wrote:

> Pygame should be able to save from OpenGL without any changes.
>
Try this in an OpenGL program:

keystate = pygame.key.get_pressed()
if keystate[K_s]: #"s" is for screenshot
        pygame.image.save(surface, "1.jpg")

...crashes, where:

surface = pygame.display.set_mode((screen[0], screen[1]), OPENGL|DOUBLEBUF)

Ian

Reply via email to