projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6262bd
)
st/glx: Fix glXCopySubBufferMESA.
author
Chia-I Wu
<olv@lunarg.com>
Sun, 14 Mar 2010 06:58:27 +0000
(14:58 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Sun, 14 Mar 2010 06:59:55 +0000
(14:59 +0800)
Honor the (x, y) and (width, height) pairs.
src/gallium/state_trackers/glx/xlib/xm_st.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/xm_st.c
b/src/gallium/state_trackers/glx/xlib/xm_st.c
index
bcb8285
..
b6ed7e8
100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/xm_st.c
+++ b/
src/gallium/state_trackers/glx/xlib/xm_st.c
@@
-115,7
+115,7
@@
xmesa_st_framebuffer_copy_textures(struct st_framebuffer_iface *stfbi,
dst_ptex, 0, 0, 0, PIPE_BUFFER_USAGE_GPU_WRITE);
if (src && dst)
- pipe->surface_copy(pipe, dst,
0, 0, src, 0, 0, src->width, src->
height);
+ pipe->surface_copy(pipe, dst,
x, y, src, x, y, width,
height);
pipe_surface_reference(&src, NULL);
pipe_surface_reference(&dst, NULL);