From: Brian Paul Date: Tue, 20 Jan 2009 23:53:29 +0000 (-0700) Subject: mesa: update Visual.samples field in _mesa_update_framebuffer_visual() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23524e87339b25be75580a2dd2ea296b1741bffb;p=mesa.git mesa: update Visual.samples field in _mesa_update_framebuffer_visual() --- diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 10d05243fe1..079f457503f 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -543,6 +543,7 @@ _mesa_update_framebuffer_visual(struct gl_framebuffer *fb) fb->Visual.rgbBits = fb->Visual.redBits + fb->Visual.greenBits + fb->Visual.blueBits; fb->Visual.floatMode = GL_FALSE; + fb->Visual.samples = rb->NumSamples; break; } else if (rb->_BaseFormat == GL_COLOR_INDEX) {