summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-26 19:38:12 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-26 19:38:12 -0400
commit4ae3036906fc159b11b335ecc472e897b20c8d07 (patch)
tree6e7ffeacc9d8a7918dbb48320f34ed92fdc93cff /balls.c
parentdd47d7c0d9a5d2c511988f92d0cf2be5ac5d1ba7 (diff)
downloadballs-4ae3036906fc159b11b335ecc472e897b20c8d07.zip
reshape()
Diffstat (limited to 'balls.c')
-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);
}