Added comment.

This commit is contained in:
Nissim Hadar 2017-11-01 20:31:44 -07:00
parent ad11606e34
commit 2e6c849b63

View file

@ -128,6 +128,7 @@ void PrepareStencil::testNoAA(gpu::State& state) {
gpu::State::STENCIL_OP_KEEP, gpu::State::STENCIL_OP_KEEP, gpu::State::STENCIL_OP_KEEP));
}
// Pass if this area has been marked as MASK or NO_AA
void PrepareStencil::testMaskNoAA(gpu::State& state) {
state.setStencilTest(true, 0x00, gpu::State::StencilTest(0, STENCIL_MASK | STENCIL_NO_AA, gpu::EQUAL,
gpu::State::STENCIL_OP_KEEP, gpu::State::STENCIL_OP_KEEP, gpu::State::STENCIL_OP_KEEP));