diff options
| author | Guido van Rossum <guido@python.org> | 1992-09-07 15:11:30 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1992-09-07 15:11:30 +0000 |
| commit | 2de9b68fea0be67d731b275b38fa015d95702f69 (patch) | |
| tree | 6e1c5e0ee88791b914c666bc8025d9ef4de35076 /Demo/sgi/video/Vplay.py | |
| parent | 00ffea36155d253ad5ccb26f2d14e1545626a723 (diff) | |
| download | cpython-git-2de9b68fea0be67d731b275b38fa015d95702f69.tar.gz | |
Clear the window when receiving a REDRAW event and not playing
Diffstat (limited to 'Demo/sgi/video/Vplay.py')
| -rwxr-xr-x | Demo/sgi/video/Vplay.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/sgi/video/Vplay.py b/Demo/sgi/video/Vplay.py index facd20f3fe..4fe13c5995 100755 --- a/Demo/sgi/video/Vplay.py +++ b/Demo/sgi/video/Vplay.py @@ -170,6 +170,8 @@ def process(filename): if not looping: while not stop: dev, val = gl.qread() + if dev == REDRAW: + vin.clear() if dev == LEFTMOUSE and val == 1: break # Continue outer loop if dev == ESCKEY and val == 1 or \ |
