st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/
authorBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 21:51:02 +0000 (14:51 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 21:51:02 +0000 (14:51 -0700)
src/mesa/state_tracker/st_framebuffer.c

index cf8331f4ab68c6e3315c5fc09f927ea914a0880a..0a91183f89dd3a0d75b04caf9dbc9eefb4196e98 100644 (file)
@@ -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);
    }