projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957a625
)
i965: use region width, height in brw_update_renderbuffer_surface()
author
Brian Paul
<brianp@vmware.com>
Sat, 18 Apr 2009 16:42:15 +0000
(10:42 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 18 Apr 2009 16:42:15 +0000
(10:42 -0600)
Fixes a regression from commit
2c30fd84dfa052949a117c78d932b58c1f88b446
seen with DRI1.
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 0dc377be656fadb70bd2879e30f50bb5ada2925e..71840d1e4e8e72968863ce5f459ce5b6ee8b3825 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-546,8
+546,8
@@
brw_update_renderbuffer_surface(struct brw_context *brw,
irb->texformat->MesaFormat);
}
key.tiling = region->tiling;
- key.width = r
b->W
idth;
- key.height = r
b->H
eight;
+ key.width = r
egion->w
idth;
+ key.height = r
egion->h
eight;
key.pitch = region->pitch;
key.cpp = region->cpp;
} else {