summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_window_pos.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2013-01-12 14:56:49 -0800
committerJordan Justen <[email protected]>2013-01-14 20:50:31 -0800
commitba34c1d5703f873e2f69fb1cca747f02ffba2ec9 (patch)
tree5b5a9fa6b55fa289716128367a5c44ae48babc90 /src/glx/indirect_window_pos.c
parent91ec623bd264a72579f438b18c8577764d346462 (diff)
copyteximage: Use Driver's AllocTextureImageBuffer instead of TexImage
Call Driver.AllocTextureImageBuffer rather than calling Driver.TexImage with NULL data, format=GL_NONE and type=GL_NONE. This avoids setting ctx->Unpack, which can lead to incorrectly trying to upload data. The GLES3 GTF program's packed_pixels_pbo test was triggering an error for i965 with the previous code. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/indirect_window_pos.c')
0 files changed, 0 insertions, 0 deletions