From 4ae3036906fc159b11b335ecc472e897b20c8d07 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 26 Oct 2024 19:38:12 -0400 Subject: reshape() --- balls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'balls.c') 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); } -- cgit v1.2.3