-
Gert Wollny authored
If the bind flags are not correct then the default code path would try to create a texture with PIPE_BUFFER as target. Reorder the checks to bail out in this case after freeing the memory. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
a1566520