aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-07-29 09:02:30 +0200
committermarha <marha@users.sourceforge.net>2011-07-29 09:02:30 +0200
commit28257038c4f13ac26127d536c14c922aa036efed (patch)
tree12972a932e1c9f6cd4b3898dbc09cbf43bd16b0d /mesalib/src/mesa/main/framebuffer.c
parent01dc3700436c1fa006d38434e110b68b5d9702ce (diff)
downloadvcxsrv-28257038c4f13ac26127d536c14c922aa036efed.tar.gz
vcxsrv-28257038c4f13ac26127d536c14c922aa036efed.tar.bz2
vcxsrv-28257038c4f13ac26127d536c14c922aa036efed.zip
libX11 mesa pixman git update 29 jul 2011
Diffstat (limited to 'mesalib/src/mesa/main/framebuffer.c')
-rw-r--r--mesalib/src/mesa/main/framebuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/framebuffer.c b/mesalib/src/mesa/main/framebuffer.c
index e27569a6f..23fa1b2c1 100644
--- a/mesalib/src/mesa/main/framebuffer.c
+++ b/mesalib/src/mesa/main/framebuffer.c
@@ -548,6 +548,7 @@ _mesa_update_framebuffer_visual(struct gl_context *ctx,
fb->Visual.rgbBits = fb->Visual.redBits
+ fb->Visual.greenBits + fb->Visual.blueBits;
fb->Visual.samples = rb->NumSamples;
+ fb->Visual.sampleBuffers = rb->NumSamples > 0 ? 1 : 0;
if (_mesa_get_format_color_encoding(fmt) == GL_SRGB)
fb->Visual.sRGBCapable = ctx->Const.sRGBCapable;
break;