intel: added null ptr check
authorBrian Paul <brianp@vmware.com>
Mon, 29 Jun 2009 21:26:26 +0000 (15:26 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 29 Jun 2009 21:26:28 +0000 (15:26 -0600)
commit4e43126a5915b1233c89c61400c8270d23d48ea3
tree3aee7b59bc39ff871908498af2e2c6367130a176
parentb1f2f92d9b2d190d39fb1b5c919c59c9539a025a
intel: added null ptr check

This fixes a segfault seen with piglit's fdo20701 test.
src/mesa/drivers/dri/intel/intel_context.c