summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/xdemos/glxgears.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c
index 304fd4befa9..feae773a5fd 100644
--- a/progs/xdemos/glxgears.c
+++ b/progs/xdemos/glxgears.c
@@ -473,6 +473,7 @@ event_loop(Display *dpy, Window win)
switch (event.type) {
case Expose:
/* we'll redraw below */
+ reshape(event.xexpose.width, event.xexpose.height);
break;
case ConfigureNotify:
reshape(event.xconfigure.width, event.xconfigure.height);