mesa: fix MSAA enable state in update_multisample()
This commit is contained in:
@@ -295,10 +295,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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user