i965g: remove surface from views list before freeing
authorDave Airlie <airlied@linux.ie>
Sun, 29 Nov 2009 08:59:19 +0000 (18:59 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 29 Nov 2009 08:59:19 +0000 (18:59 +1000)
commitca9b0e942c5f8f95383c637b05e3fb237f013688
tree31dc3c92b148347ac754421816850e4638a16b96
parent6f1bc4267f6cd2e18a6a572a5aed2fccd747ce0f
i965g: remove surface from views list before freeing

this fixes a crash with the xorg state tracker, however it then locks
up the GPU once rendering is enabled but at least it doesn't crash.

Signed-off-by: Dave Airlie <airlied@linux.ie>
src/gallium/drivers/i965/brw_screen_surface.c