mesa: remove redundant call to _mesa_base_fbo_format()
authorBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 02:03:55 +0000 (19:03 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 03:11:54 +0000 (20:11 -0700)
src/mesa/main/fbobject.c

index 4ce39988127f071ddf27f0dcd74b302e4428b339..14c533e0d4335d5a545c21d169c95c460408cb34 100644 (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 {