aboutsummaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxgears.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <[email protected]>2006-05-16 16:27:54 +0000
committerTilman Sauerbeck <[email protected]>2006-05-16 16:27:54 +0000
commit601c02f7835bb01a9c25d232f5e6e11ba258d6d9 (patch)
tree0102d9de4b4e2ec286f9453be0acf3a8d74c5c5a /progs/xdemos/glxgears.c
parentbd4256acfde303f559d99090519d4217c19f787e (diff)
bug 6941: fixed initial rendering problems in glxgears
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 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);