Skip to content
Snippets Groups Projects
Commit 62a8883f authored by Brian Paul's avatar Brian Paul
Browse files

st/mesa: fix sampler view reference counting bug in glDraw/CopyPixels


Use pipe_sampler_view_reference() instead of ordinary assignment.
Also add a new sanity check assertion.

Fixes piglit gl-1.0-drawpixels-color-index test crash.  But note
that the test still fails.

Cc: "10.4, 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
parent 89c96afe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment