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 4ce3998..14c533e 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 {