diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-21 10:48:32 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-09-21 10:48:32 +0200 |
commit | c67bb22fe7b4a7176efd9177d8de413d7c1a9192 (patch) | |
tree | 86539a3fc2d0a691d6729a5f00c356c7b6473217 /src/mesa/drivers/dri/intel | |
parent | 774db70506670b4f4121b6697ac39abd184a56d9 (diff) | |
parent | 1d4dbd8d9b00cdba8c4aef4a3994d8763fea0dff (diff) |
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 03db8b1c68..d49d95768d 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -507,7 +507,8 @@ intel_flush(GLcontext *ctx, GLboolean needs_mi_flush) if (screen->dri2.loader && (screen->dri2.loader->base.version >= 2) - && (screen->dri2.loader->flushFrontBuffer != NULL)) { + && (screen->dri2.loader->flushFrontBuffer != NULL) && + intel->driDrawable && intel->driDrawable->loaderPrivate) { (*screen->dri2.loader->flushFrontBuffer)(intel->driDrawable, intel->driDrawable->loaderPrivate); |