Module: Mesa Branch: master Commit: fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb
Author: pepp <[email protected]> Date: Tue Apr 12 17:42:02 2011 +0200 st/mesa: assign renderbuffer's format field when allocating storage See http://bugs.freedesktop.org/show_bug.cgi?id=36173 NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]> --- src/mesa/state_tracker/st_cb_fbo.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index e632d81..755b6bc 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -90,6 +90,7 @@ st_renderbuffer_alloc_storage(struct gl_context * ctx, strb->Base.Format = st_pipe_format_to_mesa_format(format); strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); strb->Base.DataType = st_format_datatype(format); + strb->format = format; strb->defined = GL_FALSE; /* undefined contents now */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
