summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-25 19:03:55 -0700
committerBrian Paul <[email protected]>2010-02-25 20:11:54 -0700
commita8dafe713f4b45fd09c678e1ca9fbe4eab16f8be (patch)
tree1558218ed6cc8719359041e738d6ff1ad68c3e1c /src/mesa/main
parenta858bc393ec431f836bea275edb4437fe41adc75 (diff)
mesa: remove redundant call to _mesa_base_fbo_format()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 4ce39988127..14c533e0d43 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 {