i965: Fix overwriting of depth override for SetTexOffset.
Fixes black borders around windows in compiz. Bug #17233.
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user