i965: Fix overwriting of depth override for SetTexOffset.

Fixes black borders around windows in compiz.  Bug #17233.
This commit is contained in:
Eric Anholt 2008-10-01 14:14:06 -07:00
parent 08b9e29c1d
commit df6ae3f0a3

View file

@ -274,7 +274,6 @@ brw_update_texture_surface( GLcontext *ctx, GLuint unit )
key.width = firstImage->Width;
key.height = firstImage->Height;
key.cpp = intelObj->mt->cpp;
key.depth = firstImage->Depth;
key.tiling = intelObj->mt->region->tiling;
dri_bo_unreference(brw->wm.surf_bo[unit + MAX_DRAW_BUFFERS]);