Skip to content
Snippets Groups Projects
Commit 4eea2496 authored by Axel Davy's avatar Axel Davy Committed by Emil Velikov
Browse files

st/nine: Add pool check to SetTexture (v2)


D3DPOOL_SCRATCH is disallowed according to spec.
D3DPOOL_SYSTEMMEM should be allowed but we don't handle it right for now.

v2: Fixes segfault in SetTexture when unsetting the texture

Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Tested-by: David Heidelberg's avatarDavid Heidelberg <david@ixit.cz>
Signed-off-by: default avatarAxel Davy <axel.davy@ens.fr>
parent 890f963d
No related branches found
No related tags found
No related merge requests found
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