aboutsummaryrefslogtreecommitdiff
path: root/example/pong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/pong.cpp')
-rw-r--r--example/pong.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/example/pong.cpp b/example/pong.cpp
index 568010e..a42bb55 100644
--- a/example/pong.cpp
+++ b/example/pong.cpp
@@ -85,8 +85,7 @@ int main()
render.render();
- //printf ("%i %i %i %i %i", iEdgeTop, iEdgeBottom, iEdgeLeft, iEdgeRight, iAball);
- /*return 0;*/
+ render.setTargetFPS(20);
unsigned int cc = 0;
@@ -137,8 +136,6 @@ int main()
screen.write();
render.render();
-
- usleep(50*1000);
}
return 0;