projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e195a6
)
st/va: retrieve size from the temporary img variable
author
Julien Isorce
<julien.isorce@gmail.com>
Tue, 15 Dec 2015 09:01:07 +0000
(09:01 +0000)
committer
Julien Isorce
<j.isorce@samsung.com>
Wed, 16 Dec 2015 14:12:31 +0000
(14:12 +0000)
"image" is not ready yet since it will be set at
the end of the function by: *image = *img;
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Christian K<C3><B6>nig <christian.koenig@amd.com>
src/gallium/state_trackers/va/image.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/va/image.c
b/src/gallium/state_trackers/va/image.c
index ae07da857e121d24100989eb019d78307efcad5c..8fb3c210898be0cd12f14599ee910958d2e6be49 100644
(file)
--- a/
src/gallium/state_trackers/va/image.c
+++ b/
src/gallium/state_trackers/va/image.c
@@
-264,7
+264,7
@@
vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image)
img->image_id = handle_table_add(drv->htab, img);
img_buf->type = VAImageBufferType;
- img_buf->size = im
age
->data_size;
+ img_buf->size = im
g
->data_size;
img_buf->num_elements = 1;
img_buf->derived_surface.fence = surf->fence;