Check for multisample conformance

TRAC #11747 Only warn about sample coverage settings in a multisample context. Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@212 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent d1f667fe
...@@ -1394,14 +1394,17 @@ void Context::applyState(GLenum drawMode) ...@@ -1394,14 +1394,17 @@ void Context::applyState(GLenum drawMode)
device->SetRenderState(D3DRS_DEPTHBIAS, 0); device->SetRenderState(D3DRS_DEPTHBIAS, 0);
} }
if (mConfig->mMultiSample != 0)
{
if (sampleAlphaToCoverage) if (sampleAlphaToCoverage)
{ {
UNIMPLEMENTED(); // FIXME FIXME("Sample alpha to coverage is unimplemented.");
} }
if (sampleCoverage) if (sampleCoverage)
{ {
UNIMPLEMENTED(); // FIXME: Ignore when SAMPLE_BUFFERS is not one FIXME("Sample coverage is unimplemented.");
}
} }
device->SetRenderState(D3DRS_DITHERENABLE, dither ? TRUE : FALSE); device->SetRenderState(D3DRS_DITHERENABLE, dither ? TRUE : FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment