projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f3514e
)
mesa: update Visual.samples field in _mesa_update_framebuffer_visual()
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Jan 2009 23:53:29 +0000
(16:53 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 22 Jan 2009 22:20:09 +0000
(15:20 -0700)
src/mesa/main/framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index 10d05243fe1123d5b9f424914d4af28b8f3f44ff..079f457503f46f8197f376bf6dd746a5ee2f3b85 100644
(file)
--- 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) {