Remove bad assertions, decrement NumShaders in _mesa_detach_shader().
authorBrian <brian@yutani.localnet.net>
Wed, 18 Apr 2007 20:55:18 +0000 (14:55 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 18 Apr 2007 20:55:18 +0000 (14:55 -0600)
commitbac15c8db87261ea168caa98d818bd6917ca14d6
tree6b2361eacd136d0c92176b6f204ddbf8dd6d7277
parentf3e8c32376d8bdf1c48a0a2ad97eddcde7fc2f00
Remove bad assertions, decrement NumShaders in _mesa_detach_shader().

Fixes crashes w/ Brad King's depth peeling test.
src/mesa/shader/shader_api.c