nv50: avoid a NULL-ptr dereference when the pipe context changes
authorMaarten Maathuis <madman2003@gmail.com>
Fri, 14 Aug 2009 20:25:04 +0000 (22:25 +0200)
committerMaarten Maathuis <madman2003@gmail.com>
Sat, 15 Aug 2009 14:57:00 +0000 (16:57 +0200)
commita7adb858278ee2311e014ca2d7bb56656cbd7aa7
treec8b4692458ac48586fc6fdd810f0a588d11dac03
parenta2af40b846e0b510887aaf15c2777387a3caae62
nv50: avoid a NULL-ptr dereference when the pipe context changes

- We cannot assume all state objects are present when the pipe context changes.
src/gallium/drivers/nv50/nv50_state_validate.c