Mesa (master): mesa: remove redundant call to _mesa_base_fbo_format()
Brian Paul
brianp at kemper.freedesktop.org
Fri Feb 26 03:14:52 UTC 2010
Module: Mesa
Branch: master
Commit: a8dafe713f4b45fd09c678e1ca9fbe4eab16f8be
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8dafe713f4b45fd09c678e1ca9fbe4eab16f8be
Author: Brian Paul <brianp at vmware.com>
Date: Thu Feb 25 19:03:55 2010 -0700
mesa: remove redundant call to _mesa_base_fbo_format()
---
src/mesa/main/fbobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 {
More information about the mesa-commit
mailing list