projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
526ebfa
)
st/dri: fix MSAA resolving of buffers with height > width
author
Marek Olšák
<maraeo@gmail.com>
Wed, 29 May 2013 21:08:11 +0000
(23:08 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 13 Jun 2013 01:54:14 +0000
(
03:54
+0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/dri/common/dri_drawable.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/common/dri_drawable.c
b/src/gallium/state_trackers/dri/common/dri_drawable.c
index cd4a36a139fecb451613997baee5674077dafaaa..f784ee65ea9fcaf46caca43670ab629f7007fff7 100644
(file)
--- a/
src/gallium/state_trackers/dri/common/dri_drawable.c
+++ b/
src/gallium/state_trackers/dri/common/dri_drawable.c
@@
-374,12
+374,12
@@
dri_msaa_resolve(struct dri_context *ctx,
memset(&blit, 0, sizeof(blit));
blit.dst.resource = dst;
blit.dst.box.width = dst->width0;
- blit.dst.box.height = dst->
width
0;
+ blit.dst.box.height = dst->
height
0;
blit.dst.box.depth = 1;
blit.dst.format = util_format_linear(dst->format);
blit.src.resource = src;
blit.src.box.width = src->width0;
- blit.src.box.height = src->
width
0;
+ blit.src.box.height = src->
height
0;
blit.src.box.depth = 1;
blit.src.format = util_format_linear(src->format);
blit.mask = PIPE_MASK_RGBA;