diff options
| -rw-r--r-- | balls.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |
| index : balls | ||
| Bouncing balls simulation. | Sam Anthony |
| summaryrefslogtreecommitdiffstats |
| -rw-r--r-- | balls.c | 3 |
@@ -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); } |