projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b9e29
)
i965: Fix overwriting of depth override for SetTexOffset.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Oct 2008 21:14:06 +0000
(14:14 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Oct 2008 21:15:17 +0000
(14:15 -0700)
Fixes black borders around windows in compiz. Bug #17233.
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index 47127c042105c6f74ae886a8c98f40c53403321c..3790b50c976111e73d60ab66c55711c7a8d5d31f 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-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]);