diff options
author | Louis-Francis Ratté-Boulianne <[email protected]> | 2017-08-31 00:20:46 -0400 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2017-09-20 07:07:05 -0700 |
commit | 4b41361894214de7f34c555dbd6f60983967db39 (patch) | |
tree | f12f5251e3f42bdcd280713a8cd756556b612615 /src/mesa | |
parent | 704ddbcdf693079d417d831abe073caad008ab01 (diff) |
i965: Fix duplication of DRI images
Some DRI image properties weren't properly duplicated in the
new image. Some properties are still missing, but I'm not
certain if there was a good reason to let them out in the first
place.
Signed-off-by: Louis-Francis Ratté-Boulianne <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index ad081f06584..bc2bba00b6a 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -868,6 +868,9 @@ intel_dup_image(__DRIimage *orig_image, void *loaderPrivate) image->tile_y = orig_image->tile_y; image->has_depthstencil = orig_image->has_depthstencil; image->data = loaderPrivate; + image->dma_buf_imported = orig_image->dma_buf_imported; + image->aux_offset = orig_image->aux_offset; + image->aux_pitch = orig_image->aux_pitch; memcpy(image->strides, orig_image->strides, sizeof(image->strides)); memcpy(image->offsets, orig_image->offsets, sizeof(image->offsets)); |