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:Axel Davy <davyaxel0@gmail.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 42d672fa)
Loading
Please register or sign in to comment