diff options
author | Laura Ekstrand <[email protected]> | 2014-12-09 12:19:13 -0800 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-01-08 11:37:28 -0800 |
commit | 838ef5b7816bf7a2fbde25b602b5150e92398c0a (patch) | |
tree | dd888cf6d3df36f7d9fd5482bae27b91e7516d32 | |
parent | 60e3bfddaf6ab4f8385561654dfe4e0034d8bc9d (diff) |
i965: blit_texture_to_pbo() now accepts TEXTURE_CUBE_MAP.
ARB_DIRECT_STATE_ACCESS permits the user to use TEXTURE_CUBE_MAP as a target.
Reviewed-by: Anuj Phogat <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c index 331777919c6..855a6b4eab4 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_image.c +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c @@ -459,6 +459,7 @@ blit_texture_to_pbo(struct gl_context *ctx, if (target == GL_TEXTURE_1D_ARRAY || target == GL_TEXTURE_2D_ARRAY || + target == GL_TEXTURE_CUBE_MAP || target == GL_TEXTURE_CUBE_MAP_ARRAY || target == GL_TEXTURE_3D) { perf_debug("%s: no support for multiple slices, fallback to CPU mapping " |