aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxdri2.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-23 06:38:04 +0000
committermarha <marha@users.sourceforge.net>2010-06-23 06:38:04 +0000
commitc356d5298f18cd103ef7caad015d98d2022044ac (patch)
tree6eb4fe5cf11588223e1d1da94d5ed41ca5e6f96c /xorg-server/glx/glxdri2.c
parent5bb359288aac7b23042dc168608f2ced46c851da (diff)
downloadvcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.tar.gz
vcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.tar.bz2
vcxsrv-c356d5298f18cd103ef7caad015d98d2022044ac.zip
xserver git update 23/6/2010
Diffstat (limited to 'xorg-server/glx/glxdri2.c')
-rw-r--r--xorg-server/glx/glxdri2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/glx/glxdri2.c b/xorg-server/glx/glxdri2.c
index f4cb76383..4419972b3 100644
--- a/xorg-server/glx/glxdri2.c
+++ b/xorg-server/glx/glxdri2.c
@@ -435,7 +435,8 @@ __glXDRIinvalidateBuffers(DrawablePtr pDraw, void *priv)
__GLXDRIdrawable *private = priv;
__GLXDRIscreen *screen = private->screen;
- (*screen->flush->invalidate)(private->driDrawable);
+ if (screen->flush)
+ (*screen->flush->invalidate)(private->driDrawable);
#endif
}