From: Brian Paul Date: Fri, 26 Feb 2010 02:03:24 +0000 (-0700) Subject: mesa: added renderbuffer->_BaseFormat assertion X-Git-Tag: mesa-7.8~409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a858bc393ec431f836bea275edb4437fe41adc75;p=platform%2Fupstream%2Fmesa.git mesa: added renderbuffer->_BaseFormat assertion --- diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index c44db25..4276b23 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; }