From: Brian Paul Date: Thu, 11 Mar 2010 21:51:02 +0000 (-0700) Subject: st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d5c524cbe534a868fff8f6d6f64bcb89066e32c;p=mesa.git st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/ --- 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); }