Skip to content
Commit ec1bae22 authored by Axel Davy's avatar Axel Davy Committed by Juan A. Suarez Romero
Browse files

st/nine: Bind src not dst in nine_context_box_upload



nine_context_box_upload uploads a ram buffer (from src)
to a pipe_resource (dst).
We already have a refcount on the pipe_resource,
what needs to be protected from release is the ram buffer,
thus a reference to src.

Signed-off-by: default avatarAxel Davy <davyaxel0@gmail.com>
Tested-by: default avatarDieter Nützel <Dieter@nuetzel-hh.de>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 42d672fa)
parent 8689dcba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment