mesa: fix MSAA enable state in update_multisample()
This commit is contained in:
@@ -295,11 +295,11 @@ static void
|
|||||||
update_multisample(GLcontext *ctx)
|
update_multisample(GLcontext *ctx)
|
||||||
{
|
{
|
||||||
ctx->Multisample._Enabled = GL_FALSE;
|
ctx->Multisample._Enabled = GL_FALSE;
|
||||||
if (ctx->DrawBuffer) {
|
if (ctx->Multisample.Enabled &&
|
||||||
if (ctx->DrawBuffer->Visual.sampleBuffers)
|
ctx->DrawBuffer &&
|
||||||
|
ctx->DrawBuffer->Visual.sampleBuffers)
|
||||||
ctx->Multisample._Enabled = GL_TRUE;
|
ctx->Multisample._Enabled = GL_TRUE;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user