gallium: new assertion on surface->texture

This commit is contained in:
Brian Paul 2008-09-17 10:20:49 -06:00
parent ec8398d62f
commit 63b915d743

View file

@ -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);