intel: name in intel_create_renderbuffer was always 0, remove
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Dec 2009 01:03:20 +0000 (17:03 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 10 Dec 2009 23:12:30 +0000 (15:12 -0800)
src/mesa/drivers/dri/intel/intel_fbo.c

index 5a67cb1388629b0ea34f0290897755e126f8c1fb..970ffb2e4d20349f43bb6ea65ba9697c4edd24b3 100644 (file)
@@ -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) {