From: Brian Date: Tue, 31 Jul 2007 16:42:39 +0000 (-0600) Subject: fix value returned by intel_new_renderbuffer_fb() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=616c329e81f03183924b57cb19f027b22c9307f8;p=mesa.git fix value returned by intel_new_renderbuffer_fb() --- diff --git a/src/mesa/drivers/dri/i915tex/intel_fbo.c b/src/mesa/drivers/dri/i915tex/intel_fbo.c index 559788f20a9..928139b5d9b 100644 --- a/src/mesa/drivers/dri/i915tex/intel_fbo.c +++ b/src/mesa/drivers/dri/i915tex/intel_fbo.c @@ -382,7 +382,7 @@ intel_new_renderbuffer_fb(GLuint intFormat) irb->Base.surface = intel_new_surface(intFormat); irb->Base.surface->rb = irb; - return &irb->Base; + return irb; } /**