summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-02 21:00:41 +0200
committerMarek Olšák <[email protected]>2014-08-11 21:53:57 +0200
commit547e2880bc9ac88a5897306fb9eadee0c825d14c (patch)
treed7edbba7d4816452136b56ba2a7c0423a1619487 /src/mesa/state_tracker/st_texture.h
parent3d56732c1fa1e021341fff33404e1c6bc41ec991 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h3
1 files changed, 2 insertions, 1 deletions
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