diff options
author | Brian Paul <[email protected]> | 2009-10-07 09:58:03 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-07 09:58:34 -0600 |
commit | 2ef1aae1633db98fc52f440ca33b8f2a6f153d45 (patch) | |
tree | 24fdb7226bf1412bbb914bf09f641fbeca84470f /src/mesa/state_tracker/st_cb_fbo.c | |
parent | de81b2cf0a465e2c6c43c7f9f864129728b3a080 (diff) |
st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions
These don't depend on context state, but use a screen pointer.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 57a2a3db5bb..864f5d3ca3f 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -93,7 +93,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, if (strb->format != PIPE_FORMAT_NONE) format = strb->format; else - format = st_choose_renderbuffer_format(pipe, internalFormat); + format = st_choose_renderbuffer_format(pipe->screen, internalFormat); /* init renderbuffer fields */ strb->Base.Width = width; |