From fbd9cc61694dcb59b3d2a742073ed231f848702d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 11 Jun 2017 01:41:40 +0200 Subject: st/mesa: don't return an error from update_single_texture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It can just return a NULL sampler view, which is better than not doing anything at all. Reviewed-by: Nicolai Hähnle --- src/mesa/state_tracker/st_texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/st_texture.h') diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index 450d940e76e..b9336544bb3 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -288,7 +288,7 @@ st_convert_sampler_from_unit(const struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit); -GLboolean +void st_update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit, unsigned glsl_version); -- cgit v1.2.3