summaryrefslogtreecommitdiff
path: root/progs/xdemos/glxgears.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glxgears.c')
-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 304fd4befa..feae773a5f 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);