From: Grzegorz A. H. <gr...@ti...> - 2005-12-17 11:54:15
|
Hello there. With the following simple test I get a deadlock under Linux/X. Can somebody reproduce it? The same code in C works fine, so I guess it's python doing evil things, and Allegro not being unevil enough. #!/usr/bin/env python import alpy def init_alpy(): alpy.init() alpy.set_gfx_mode(alpy.GFX_AUTODETECT_WINDOWED, 640, 480) points = [(50, 50), (100, 100), (100, 150),(50, 200), (0, 150), (0, 100)] white = alpy.makecol(255, 255, 255) black = alpy.makecol(0, 0, 0) alpy.screen.clear(white) alpy.screen.polygon(points, black) init_alpy() |