diff options
author | LC <mathew1800@gmail.com> | 2020-11-21 03:19:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-21 03:19:06 +0100 |
commit | d88baa746bc10df1afadd90f5149a29abc3e4ace (patch) | |
tree | 0ec5bc45340771fc679d382cfb05033373384f6b /src/video_core/renderer_opengl | |
parent | Merge pull request #4953 from lioncash/shader-shadow (diff) | |
parent | gl_rasterizer: Remove warning of untested alpha test (diff) | |
download | yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar.gz yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar.bz2 yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar.lz yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar.xz yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.tar.zst yuzu-d88baa746bc10df1afadd90f5149a29abc3e4ace.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 36bf92808..cdcde7c59 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -1579,10 +1579,6 @@ void RasterizerOpenGL::SyncAlphaTest() { flags[Dirty::AlphaTest] = false; 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) { glEnable(GL_ALPHA_TEST); glAlphaFunc(MaxwellToGL::ComparisonOp(regs.alpha_test_func), regs.alpha_test_ref); |