From: Brian Paul Date: Wed, 17 Sep 2008 16:20:49 +0000 (-0600) Subject: gallium: new assertion on surface->texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63b915d743e1807696a55f5e52a1fe9df799aeb3;p=mesa.git gallium: new assertion on surface->texture --- diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 8406bf247fc..00076f61e0f 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -170,6 +170,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, 0, 0, 0, surface_usage ); + assert(strb->surface->texture); assert(strb->surface->buffer); assert(strb->surface->format); assert(strb->surface->block.size);