projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ff11e
)
gallium: Fix GL_DEPTH CopyPixels tile coordinates.
author
Michel Dänzer
<daenzer@vmware.com>
Thu, 12 Feb 2009 19:12:04 +0000
(20:12 +0100)
committer
Michel Dänzer
<daenzer@vmware.com>
Thu, 12 Feb 2009 19:12:04 +0000
(20:12 +0100)
src/mesa/state_tracker/st_cb_drawpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_drawpixels.c
b/src/mesa/state_tracker/st_cb_drawpixels.c
index 9e30e638e484aea85d123e2762c0f671770e80e6..b56dd36eb3d92609d54848090fe11df3d8ec29af 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/
src/mesa/state_tracker/st_cb_drawpixels.c
@@
-1068,7
+1068,7
@@
st_CopyPixels(GLcontext *ctx, GLint srcx, GLint srcy,
else {
/* GL_DEPTH */
GLuint *buf = (GLuint *) malloc(width * height * sizeof(GLuint));
- pipe_get_tile_z(ptRead,
srcx, srcy
, width, height, buf);
+ pipe_get_tile_z(ptRead,
0, 0
, width, height, buf);
pipe_put_tile_z(ptTex, 0, 0, width, height, buf);
free(buf);
}