bug 6941: fixed initial rendering problems in glxgears
authorTilman Sauerbeck <tilman@freedesktop.org>
Tue, 16 May 2006 16:27:54 +0000 (16:27 +0000)
committerTilman Sauerbeck <tilman@freedesktop.org>
Tue, 16 May 2006 16:27:54 +0000 (16:27 +0000)
progs/xdemos/glxgears.c

index 304fd4b..feae773 100644 (file)
@@ -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);