summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_framebuffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-11 14:51:02 -0700
committerBrian Paul <[email protected]>2010-03-11 14:51:02 -0700
commit5d5c524cbe534a868fff8f6d6f64bcb89066e32c (patch)
tree5e92db08e4ad5b77801b8922dcb1f10c4c0aac32 /src/mesa/state_tracker/st_framebuffer.c
parentc472ce5302a590b45d8affe00c1fcce04f8b8585 (diff)
st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/
Diffstat (limited to 'src/mesa/state_tracker/st_framebuffer.c')
-rw-r--r--src/mesa/state_tracker/st_framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c
index cf8331f4ab6..0a91183f89d 100644
--- a/src/mesa/state_tracker/st_framebuffer.c
+++ b/src/mesa/state_tracker/st_framebuffer.c
@@ -190,7 +190,7 @@ st_set_framebuffer_surface(struct st_framebuffer *stfb,
_mesa_warning(ctx, "Out of memory allocating renderbuffer");
return;
}
- _mesa_add_renderbuffer(&stfb->Base, BUFFER_FRONT_LEFT, rb);
+ _mesa_add_renderbuffer(&stfb->Base, surfIndex, rb);
strb = st_renderbuffer(rb);
}