[maemo-commits] [maemo-commits] r8479 - projects/haf/trunk/pygame/examples

From: www-data at stage.maemo.org www-data at stage.maemo.org
Date: Wed Nov 29 19:26:22 EET 2006
Author: luciano
Date: 2006-11-29 19:26:18 +0200 (Wed, 29 Nov 2006)
New Revision: 8479

Modified:
   projects/haf/trunk/pygame/examples/arraydemo.py
Log:
Maemo supports only 16bit color depth

Modified: projects/haf/trunk/pygame/examples/arraydemo.py
===================================================================
--- projects/haf/trunk/pygame/examples/arraydemo.py	2006-11-29 17:18:56 UTC (rev 8478)
+++ projects/haf/trunk/pygame/examples/arraydemo.py	2006-11-29 17:26:18 UTC (rev 8479)
@@ -18,7 +18,7 @@
 
 def surfdemo_show(array_img, name):
     "displays a surface, waits for user to continue"
-    screen = pygame.display.set_mode(array_img.shape[:2], 0, 32)
+    screen = pygame.display.set_mode(array_img.shape[:2], 0, 16)
     surfarray.blit_array(screen, array_img)
     pygame.display.flip()
     pygame.display.set_caption(name)


More information about the maemo-commits mailing list