mesa: remove redundant call to _mesa_base_fbo_format()

This commit is contained in:
Brian Paul 2010-02-25 19:03:55 -07:00
parent a858bc393e
commit a8dafe713f

View file

@ -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 {