summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/multisample.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2008-07-02 20:08:27 +0200
committerRoland Scheidegger <[email protected]>2008-07-02 20:22:08 +0200
commit489fc4d10a57538de59a89e19ce752e4b7253d22 (patch)
treeacd00293c4e71f1e49da222dc840b4bbb2086f93 /src/mesa/main/multisample.c
parentcc31eecbcb90dabacabac3e6be7c01cfe3a7a2a6 (diff)
mesa: fix issues around multisample enable
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
Diffstat (limited to 'src/mesa/main/multisample.c')
-rw-r--r--src/mesa/main/multisample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c
index e138087436e..b9cfad92160 100644
--- a/src/mesa/main/multisample.c
+++ b/src/mesa/main/multisample.c
@@ -57,7 +57,7 @@ _mesa_SampleCoverageARB(GLclampf value, GLboolean invert)
void
_mesa_init_multisample(GLcontext *ctx)
{
- ctx->Multisample.Enabled = GL_FALSE;
+ ctx->Multisample.Enabled = GL_TRUE;
ctx->Multisample.SampleAlphaToCoverage = GL_FALSE;
ctx->Multisample.SampleAlphaToOne = GL_FALSE;
ctx->Multisample.SampleCoverage = GL_FALSE;