google-code-export / simple-pygame-gui

Automatically exported from code.google.com/p/simple-pygame-gui
1 stars 1 forks source link

Doesnt work with OPENGL #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pygame.display.set_mode((900,700),pygame.OPENGL|pygame.DOUBLEBUF)

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "C:/stanc_home/etc/rigs/suns of
sol/example/spg-src-0.9.2/spg-src-0.9.2/testy.py", line 43, in <module>
    desktop.draw()
  File "C:/stanc_home/etc/rigs/suns of
sol/example/spg-src-0.9.2/spg-src-0.9.2\gui.py", line 590, in draw
    widget.draw(display.get_surface())
  File "C:/stanc_home/etc/rigs/suns of
sol/example/spg-src-0.9.2/spg-src-0.9.2\gui.py", line 481, in draw
    surf.blit(self.surf, self.position)
error: Cannot blit to OPENGL Surfaces (OPENGLBLIT is ok)

What version of the product are you using? On what operating system?

Pygame 1.8, latest spg, windows xp, python 2.5

Original issue reported on code.google.com by k12...@gmail.com on 18 Jun 2008 at 4:15

GoogleCodeExporter commented 9 years ago
That's probably because SPG blits the desktop directly onto the "screen" 
surface.
We'll fix it.

Original comment by massimo....@gmail.com on 1 Jul 2008 at 5:21