From: Brian Paul Date: Fri, 26 Feb 2010 02:03:55 +0000 (-0700) Subject: mesa: remove redundant call to _mesa_base_fbo_format() X-Git-Tag: 062012170305~12852^2~500 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8dafe713f4b45fd09c678e1ca9fbe4eab16f8be;p=profile%2Fivi%2Fmesa.git mesa: remove redundant call to _mesa_base_fbo_format() --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 4ce3998..14c533e 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -987,7 +987,7 @@ renderbuffer_storage(GLenum target, GLenum internalFormat, assert(rb->Width == (GLuint) width); assert(rb->Height == (GLuint) height); rb->InternalFormat = internalFormat; - rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); + rb->_BaseFormat = baseFormat; assert(rb->_BaseFormat != 0); } else {