summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-11 14:51:02 -0700
committerMichel Dänzer <[email protected]>2010-03-19 17:20:26 +0100
commit6412046f6509d348fe417cb58f7f9ce9bedfff63 (patch)
tree980c16da7e5d3a999f44f8fbdc25bf5908f69567
parent6e96cea6e2de2ccc580d425a299cd9bab505ee8c (diff)
st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/
(cherry picked from commit 5d5c524cbe534a868fff8f6d6f64bcb89066e32c)
-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 2aedf6afee2..83d33c2dfae 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);
}