Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/graphics/camera
diff options
context:
space:
mode:
Diffstat (limited to 'data/graphics/camera')
-rw-r--r--data/graphics/camera4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/camera b/data/graphics/camera
index 8a1bbb8..6eea88f 100644
--- a/data/graphics/camera
+++ b/data/graphics/camera
@@ -1,6 +1,6 @@
# image: take a picture
-import sys, pygame, gst, time
+import gst, pippy, pygame, sys, time
from random import *
# XO screen is 1200 by 900
@@ -32,7 +32,7 @@ image = pygame.image.load("/tmp/pippypic.jpg")
angle = 0.0
scale = 2.0
-while 1:
+while pippy.pygame.next_frame():
for event in pygame.event.get():
if event.type == pygame.QUIT: sys.exit()
elif event.type == pygame.KEYDOWN: sys.exit()