intel: Fix crash in intel_flush().
authorMichel Dänzer <daenzer@vmware.com>
Mon, 21 Sep 2009 08:08:11 +0000 (10:08 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 21 Sep 2009 08:28:37 +0000 (10:28 +0200)
commit999592745f40a96a7307da374cab4d68254acf75
treede8ce099012bb554f37ae6f4368b85c96c44de87
parentc4ce6f6a7c124c62a8ee9bd9fba28fc69a38e18c
intel: Fix crash in intel_flush().

Since commit 2921a2555d0a76fa649b23c31e3264bbc78b2ff5 ('intel: Deassociated
drawables from private context struct in intelUnbindContext'),
intel->driDrawable may be NULL in intel_flush().
src/mesa/drivers/dri/intel/intel_context.c