projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36f4ef
)
mesa: fix MSAA enable state in update_multisample()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 15 Sep 2008 23:10:04 +0000
(17:10 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 15 Sep 2008 23:14:53 +0000
(17:14 -0600)
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index 7192bed4a3d3401f4c725e2ffd8b781e71e4c17d..d60b9a13d8b92a0183ccf8f9ec4596653eda8914 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-1067,10
+1067,10
@@
static void
update_multisample(GLcontext *ctx)
{
ctx->Multisample._Enabled = GL_FALSE;
- if (ctx->
DrawBuffer) {
- if (ctx->DrawBuffer->Visual.sampleBuffers)
- ctx->Multisample._Enabled = GL_TRUE;
- }
+ if (ctx->
Multisample.Enabled &&
+ ctx->DrawBuffer &&
+ ctx->DrawBuffer->Visual.sampleBuffers)
+ ctx->Multisample._Enabled = GL_TRUE;
}