summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@freedesktop.org>2006-05-16 16:27:54 +0000
committerTilman Sauerbeck <tilman@freedesktop.org>2006-05-16 16:27:54 +0000
commit601c02f7835bb01a9c25d232f5e6e11ba258d6d9 (patch)
tree0102d9de4b4e2ec286f9453be0acf3a8d74c5c5a
parentbd4256acfde303f559d99090519d4217c19f787e (diff)
bug 6941: fixed initial rendering problems in glxgears
-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);