diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-12-08 17:03:20 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-12-10 15:12:30 -0800 |
commit | 430876cd3a70d3b701d136b825518140888f96c8 (patch) | |
tree | 6f7381e0f3154ced35dc2be6c5d7541ef49cb01d | |
parent | 0f01674a584ea6df96acf91d7cd3b8a9b48ee65e (diff) |
intel: name in intel_create_renderbuffer was always 0, remove
-rw-r--r-- | 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 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) { |