projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Blank the screen on each frame
[naja.git]
/
naja
/
engine.py
diff --git
a/naja/engine.py
b/naja/engine.py
index 1c6b70ac8a7917871edae10512acfc90e11b80d2..a8e01460c8b345336f874f0c5fc104b7bda26289 100644
(file)
--- a/
naja/engine.py
+++ b/
naja/engine.py
@@
-13,6
+13,7
@@
class Engine(object):
def run(self):
clock = pygame.time.Clock()
while True:
+ self._surface.fill((0, 0, 0))
for ev in pygame.event.get():
if ev.type == pgl.QUIT or QuitGameEvent.matches(ev):
self.quit_game()