summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-30 10:43:59 -0600
committerBrian Paul <[email protected]>2008-04-30 10:43:59 -0600
commit99fba5466bfd14c4e052041c0571821be529e762 (patch)
treef6d780ab8faa1be19f5657d0a7e4a0ae2dfa925c /src/mesa/state_tracker/st_cb_fbo.c
parent15318c8d8eb97cec8c8528cc91aaeab8858f33c6 (diff)
gallium: use new buffer wrapper functions in p_inlines.h
This allows us to remove most of the direct references to winsys in the state tracker.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c2
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 2d741d93908..fc8a5ea7f62 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -105,7 +105,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
}
else if (strb->surface->buffer) {
/* release/discard the old surface buffer */
- pipe_buffer_reference(pipe->winsys, &strb->surface->buffer, NULL);
+ pipe_reference_buffer(pipe, &strb->surface->buffer, NULL);
}
/* Determine surface format here */