mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
mesa: update Visual.samples field in _mesa_update_framebuffer_visual()
This commit is contained in:
parent
4f3514e410
commit
23524e8733
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue