Mesa (mesa_7_7_branch): intel: name in intel_create_renderbuffer was always 0, remove

Ian Romanick idr at kemper.freedesktop.org
Thu Dec 10 15:17:20 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 430876cd3a70d3b701d136b825518140888f96c8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=430876cd3a70d3b701d136b825518140888f96c8

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec  8 17:03:20 2009 -0800

intel: name in intel_create_renderbuffer was always 0, remove

---

 src/mesa/drivers/dri/intel/intel_fbo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 5a67cb1..970ffb2 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -278,7 +278,6 @@ intel_create_renderbuffer(gl_format format)
    GET_CURRENT_CONTEXT(ctx);
 
    struct intel_renderbuffer *irb;
-   const GLuint name = 0;
 
    irb = CALLOC_STRUCT(intel_renderbuffer);
    if (!irb) {
@@ -286,7 +285,7 @@ intel_create_renderbuffer(gl_format format)
       return NULL;
    }
 
-   _mesa_init_renderbuffer(&irb->Base, name);
+   _mesa_init_renderbuffer(&irb->Base, 0);
    irb->Base.ClassID = INTEL_RB_CLASS;
 
    switch (format) {



More information about the mesa-commit mailing list