aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-22 13:28:34 +0000
committermarha <marha@users.sourceforge.net>2011-05-22 13:28:34 +0000
commit52011cfedaa930d61d8f60b283a2051093727582 (patch)
treef433de26ee688bc1dca5ca97c567c9ffc0ac5d48 /mesalib/src/mesa/state_tracker/st_cb_fbo.c
parent35484135119fcf55fe1cbb1fcdd0e035f581fcfb (diff)
downloadvcxsrv-52011cfedaa930d61d8f60b283a2051093727582.tar.gz
vcxsrv-52011cfedaa930d61d8f60b283a2051093727582.tar.bz2
vcxsrv-52011cfedaa930d61d8f60b283a2051093727582.zip
xserver xkeyboard-config libX11 randrproto pixman glproto mesa git update 22 May 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_fbo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_fbo.c b/mesalib/src/mesa/state_tracker/st_cb_fbo.c
index 0fc743a87..2e87d202c 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_fbo.c
+++ b/mesalib/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 */