summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-25 19:03:24 -0700
committerBrian Paul <[email protected]>2010-02-25 20:11:54 -0700
commita858bc393ec431f836bea275edb4437fe41adc75 (patch)
tree986ca403c82e9ebf9d59ed6b05f004c0d9ffb75d /src/mesa
parent839e6bd8b90a124e88020d54ded46460b2a3bc2d (diff)
mesa: added renderbuffer->_BaseFormat assertion
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/renderbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index c44db255d62..4276b23b696 100644
--- 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;
}