diff options
author | Topi Pohjolainen <[email protected]> | 2013-04-17 13:11:16 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2013-08-02 08:56:03 +0300 |
commit | ee844b66605fed48fc61b8787b6a86cf1c4e94d7 (patch) | |
tree | f04e658e3569c4024fb21264080b9af96cc2d08f /src/mesa | |
parent | 904587ac3aae82c2c9c2aba94280021703cb88bd (diff) |
intel: set dri image dimensions even when creating out of primes
Otherwise 'intel_set_texture_image_region()' won't have enough
details to work with.
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 0738cf62f8f..3a3efc0f6cf 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -679,6 +679,8 @@ intel_create_image_from_fds(__DRIscreen *screen, image->strides[index] = strides[index]; } + intel_setup_image_from_dimensions(image); + return image; } |