summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-05-14 13:45:53 +0300
committerAlon Levy <alevy@redhat.com>2011-08-26 16:22:12 +0300
commit43bb914c596e2354d3a7e327a53195cfd6c38afc (patch)
tree1c9f8fd31fbc1acc1a80e1baa25810e9b5b22b75 /src
parent89cb428d5e7dff776aed4b3feafd0ad7290a3d46 (diff)
g/d/remote: pipe_framebuffer_state num_cbufs->nr_cbufs
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/remote/tr_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/remote/tr_context.c b/src/gallium/drivers/remote/tr_context.c
index bed1e368f3..2d628ec5ce 100644
--- a/src/gallium/drivers/remote/tr_context.c
+++ b/src/gallium/drivers/remote/tr_context.c
@@ -85,7 +85,7 @@ static INLINE void mark_framebuffer_dirty(struct pipe_context* pipe) {
struct remote_context* rctx = (struct remote_context*)pipe;
- for(int i = 0; i < rctx->current_framebuffer_state.num_cbufs; i++)
+ for(int i = 0; i < rctx->current_framebuffer_state.nr_cbufs; i++)
if(rctx->current_framebuffer_state.cbufs[i])
mark_surface_dirty(rctx->current_framebuffer_state.cbufs[i]);
@@ -814,7 +814,7 @@ remote_context_set_framebuffer_state(struct pipe_context *_pipe,
message->pipe = PIPE_HANDLE(_pipe);
message->fbwidth = state->width;
message->fbheight = state->height;
- message->fbnum_cbufs = state->num_cbufs;
+ message->fbnum_cbufs = state->nr_cbufs;
message->fbzsbuf = state->zsbuf ? SURFACE_HANDLE(state->zsbuf) : 0;
for(i = 0; i < PIPE_MAX_COLOR_BUFS; i++)
message->fbcbufs[i] = state->cbufs[i] ? SURFACE_HANDLE(state->cbufs[i]) : 0;