Skip to content
Commit 522b610a authored by Gert Wollny's avatar Gert Wollny
Browse files

vrend: Don't free resource struct in _resource_allocate_texture



The structure is allocated outside this function and also deleted there
if texture creation failes or it is asserted that it doesn't fail
for intermediate blitting textures. Therefore, don't free the struct inside
this function when allocation fails.

Closes #154

Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
parent 9f764c1e
Loading
Loading
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