projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839e6bd
)
mesa: added renderbuffer->_BaseFormat assertion
author
Brian Paul
<brianp@vmware.com>
Fri, 26 Feb 2010 02:03:24 +0000
(19:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Feb 2010 03:11:54 +0000
(20:11 -0700)
src/mesa/main/renderbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/renderbuffer.c
b/src/mesa/main/renderbuffer.c
index c44db255d62ac7b050b65f0777e6565b9798316c..4276b23b696da7975d153316bd7d4ccf9d46373f 100644
(file)
--- a/
src/mesa/main/renderbuffer.c
+++ b/
src/mesa/main/renderbuffer.c
@@
-1143,6
+1143,7
@@
_mesa_soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
rb->Width = width;
rb->Height = height;
rb->_BaseFormat = _mesa_base_fbo_format(ctx, rb->InternalFormat);
+ ASSERT(rb->_BaseFormat);
return GL_TRUE;
}