Re: [Mesa-dev] [PATCH] mesa: Validate the result of pipe_transfer_map in make_texture

2018-09-09 Thread Josh Pieper
e, it was returning NULL because nouveau_bo_new returned ENOENT. I'm by no means a mesa developer, but this patch solves the problem for me and seems reasonable enough. Thanks! -Josh Josh Pieper wrote: > --- > src/mesa/state_tracker/st_cb_drawpixels.c | 3 +++ > 1 file ch

[Mesa-dev] [PATCH] mesa: Validate the result of pipe_transfer_map in make_texture

2018-09-09 Thread Josh Pieper
--- src/mesa/state_tracker/st_cb_drawpixels.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index cb50b7104a..8d39b8a01b 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_track