<snip/>

Sorry the below change was meant to be squashed into the previous patch. Fixed locally.

--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -106,23 +106,23 @@ _mesa_delete_renderbuffer(struct gl_context *ctx, struct 
gl_renderbuffer *rb)


 /**
  * Attach a renderbuffer to a framebuffer.
  * \param bufferName  one of the BUFFER_x tokens
  *
  * This function avoids adding a reference and is therefore intended to be
  * used with a freashly created renderbuffer.
  */
 void
-_mesa_attach_renderbuffer_without_ref(struct gl_framebuffer *fb,
-                                      gl_buffer_index bufferName,
-                                      struct gl_renderbuffer *rb)
+_mesa_add_renderbuffer_without_ref(struct gl_framebuffer *fb,
+                                   gl_buffer_index bufferName,
+                                   struct gl_renderbuffer *rb)
 {
    assert(fb);
    assert(rb);
    assert(bufferName < BUFFER_COUNT);

    /* There should be no previous renderbuffer on this attachment point,
     * with the exception of depth/stencil since the same renderbuffer may
     * be used for both.
     */
    assert(bufferName == BUFFER_DEPTH ||

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to