Commit c1d47741 authored by Keith Whitwell's avatar Keith Whitwell

llvmpipe: don't FREE userbuffer data

parent 9bfa07af
......@@ -158,7 +158,7 @@ llvmpipe_resource_destroy(struct pipe_screen *pscreen,
struct sw_winsys *winsys = screen->winsys;
winsys->displaytarget_destroy(winsys, lpt->dt);
}
else {
else if (!lpt->userBuffer) {
/* regular texture */
align_free(lpt->data);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment