summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--balls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/balls.c b/balls.c
index 3365d4a..a097c82 100644
--- a/balls.c
+++ b/balls.c
@@ -322,6 +322,5 @@ display(void) {
void
reshape(int w, int h) {
- /* TODO */
- sysfatal("reshape() not implemented.\n");
+ glViewport(0, 0, (GLsizei) w, (GLsizei) h);
}