projects
/
cascardo
/
movie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not exit loop if a key is pressed
[cascardo/movie.git]
/
movie.c
diff --git
a/movie.c
b/movie.c
index
9109f5a
..
a8df545
100644
(file)
--- a/
movie.c
+++ b/
movie.c
@@
-233,11
+233,6
@@
main (int argc, char **argv)
last = SDL_GetTicks ();
while (1)
{
last = SDL_GetTicks ();
while (1)
{
- if (SDL_PollEvent (&event))
- {
- if (event.type == SDL_KEYDOWN)
- break;
- }
now = SDL_GetTicks ();
/* skip */
while (!stop && now > last + FRAME_INTERVAL)
now = SDL_GetTicks ();
/* skip */
while (!stop && now > last + FRAME_INTERVAL)