From: Ian Romanick Date: Wed, 9 Dec 2009 01:03:20 +0000 (-0800) Subject: intel: name in intel_create_renderbuffer was always 0, remove X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=430876cd3a70d3b701d136b825518140888f96c8;p=mesa.git intel: name in intel_create_renderbuffer was always 0, remove --- diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 5a67cb13886..970ffb2e4d2 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) {