mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 09:10:08 +00:00
gl_rasterizer: Remove warning of untested alpha test
Alpha test has been proven to only affect the first render target.
This commit is contained in:
parent
1889b641d9
commit
acc14d233f
@ -1579,10 +1579,6 @@ void RasterizerOpenGL::SyncAlphaTest() {
|
|||||||
flags[Dirty::AlphaTest] = false;
|
flags[Dirty::AlphaTest] = false;
|
||||||
|
|
||||||
const auto& regs = maxwell3d.regs;
|
const auto& regs = maxwell3d.regs;
|
||||||
if (regs.alpha_test_enabled && regs.rt_control.count > 1) {
|
|
||||||
LOG_WARNING(Render_OpenGL, "Alpha testing with more than one render target is not tested");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (regs.alpha_test_enabled) {
|
if (regs.alpha_test_enabled) {
|
||||||
glEnable(GL_ALPHA_TEST);
|
glEnable(GL_ALPHA_TEST);
|
||||||
glAlphaFunc(MaxwellToGL::ComparisonOp(regs.alpha_test_func), regs.alpha_test_ref);
|
glAlphaFunc(MaxwellToGL::ComparisonOp(regs.alpha_test_func), regs.alpha_test_ref);
|
||||||
|
Loading…
Reference in New Issue
Block a user