intel: added null ptr check
authorBrian Paul <brianp@vmware.com>
Wed, 13 May 2009 17:31:35 +0000 (11:31 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 13 May 2009 17:33:16 +0000 (11:33 -0600)
commit99960393edb3d6c0d3702cf51b59c2e4189117c7
treeb19014c431f4599de8187bd82c3491943311c9de
parent2e4e34689022ecfcc7dc107427db90cc52a94d63
intel: added null ptr check

Fixes segfault in context tear-down when glClear was never called.
src/mesa/drivers/dri/intel/intel_context.c