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.
This commit is contained in:
Roland Scheidegger
2008-07-02 20:20:33 +02:00
parent 6befdca6a3
commit 5ef4e4ffb8
5 changed files with 21 additions and 3 deletions

View File

@@ -829,7 +829,7 @@ _mesa_init_scissor(GLcontext *ctx)
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;