From 547e2880bc9ac88a5897306fb9eadee0c825d14c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 2 Aug 2014 21:00:41 +0200 Subject: st/mesa: add st_context parameter to st_mesa_format_to_pipe_format This will be used by the next commit. Reviewed-by: Glenn Kennard --- src/mesa/state_tracker/st_texture.h | 3 ++- 1 file changed, 2 insertions(+), 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 04b886ee39f..ce1cf8b0a94 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -199,7 +199,8 @@ st_gl_texture_dims_to_pipe_dims(GLenum texture, /* Check if an image fits into an existing texture object. */ extern GLboolean -st_texture_match_image(const struct pipe_resource *pt, +st_texture_match_image(struct st_context *st, + const struct pipe_resource *pt, const struct gl_texture_image *image); /* Return a pointer to an image within a texture. Return image stride as -- cgit v1.2.3