| 786 | } |
| 787 | |
| 788 | void GLES2RenderSystem::_setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage) |
| 789 | { |
| 790 | if (getCapabilities()->hasCapability(RSC_ALPHA_TO_COVERAGE)) |
| 791 | { |
| 792 | if ((func != CMPF_ALWAYS_PASS) && alphaToCoverage) |
| 793 | mStateCacheManager->setEnabled(GL_SAMPLE_ALPHA_TO_COVERAGE); |
| 794 | else |
| 795 | mStateCacheManager->setDisabled(GL_SAMPLE_ALPHA_TO_COVERAGE); |
| 796 | } |
| 797 | } |
| 798 | |
| 799 | void GLES2RenderSystem::_setViewport(Viewport *vp) |
| 800 | { |
nothing calls this directly
no test coverage detected