diff options
author | Marek Olšák <[email protected]> | 2014-08-02 21:00:41 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-08-11 21:53:57 +0200 |
commit | 547e2880bc9ac88a5897306fb9eadee0c825d14c (patch) | |
tree | d7edbba7d4816452136b56ba2a7c0423a1619487 /src/mesa/state_tracker/st_cb_drawpixels.c | |
parent | 3d56732c1fa1e021341fff33404e1c6bc41ec991 (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_cb_drawpixels.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index d13a17f5002..5ae092b94fb 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -491,7 +491,7 @@ make_texture(struct st_context *st, /* Choose a pixel format for the temp texture which will hold the * image to draw. */ - pipeFormat = st_choose_matching_format(pipe->screen, PIPE_BIND_SAMPLER_VIEW, + pipeFormat = st_choose_matching_format(st, PIPE_BIND_SAMPLER_VIEW, format, type, unpack->SwapBytes); if (pipeFormat == PIPE_FORMAT_NONE) { |