mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
gallium: Fix GL_DEPTH CopyPixels tile coordinates.
This commit is contained in:
parent
43ff11e70e
commit
513fc60784
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue