diff options
author | Michel Dänzer <[email protected]> | 2009-02-12 20:12:04 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-02-12 20:12:04 +0100 |
commit | 513fc6078431e1f5672795d3601e3255f378c9f8 (patch) | |
tree | 3b6e928d1f3a15618378170ed268b509833fafec /src | |
parent | 43ff11e70effad67d992ee735204e6cdb8db7110 (diff) |
gallium: Fix GL_DEPTH CopyPixels tile coordinates.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 9e30e638e48..b56dd36eb3d 100644 --- 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); } |