aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_format.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-24 21:14:30 +0100
committerMarek Olšák <[email protected]>2013-02-06 14:51:32 +0100
commitb92057a9837dfd87687d045609d1658089188998 (patch)
tree75af7556412d69b668b4f35c4f1f1e468126fb9c /src/mesa/state_tracker/st_format.h
parent2e6f10d0b700c6f71661b5910b72e2d10f3f2ec0 (diff)
st/mesa: get rid of GET_CURRENT_CONTEXT in st_choose_format
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_format.h')
-rw-r--r--src/mesa/state_tracker/st_format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h
index 50588d8d496..aee624d2492 100644
--- a/src/mesa/state_tracker/st_format.h
+++ b/src/mesa/state_tracker/st_format.h
@@ -48,13 +48,13 @@ st_pipe_format_to_mesa_format(enum pipe_format pipeFormat);
extern enum pipe_format
-st_choose_format(struct pipe_screen *screen, GLenum internalFormat,
+st_choose_format(struct st_context *st, GLenum internalFormat,
GLenum format, GLenum type,
enum pipe_texture_target target, unsigned sample_count,
unsigned bindings, boolean allow_dxt);
extern enum pipe_format
-st_choose_renderbuffer_format(struct pipe_screen *screen,
+st_choose_renderbuffer_format(struct st_context *st,
GLenum internalFormat, unsigned sample_count);