diff options
author | wwylele <wwylele@gmail.com> | 2017-08-17 09:46:59 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-08-21 07:03:07 +0200 |
commit | 1eca380886b5028e027f1380c04f221ac94ed47d (patch) | |
tree | 2e6b15be4c3fa915f59c80f04395cad09859394c /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #2872 from wwylele/sw-geo-factor (diff) | |
download | yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar.gz yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar.bz2 yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar.lz yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar.xz yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.tar.zst yuzu-1eca380886b5028e027f1380c04f221ac94ed47d.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 1c6c15a58..aa95ef21d 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -28,6 +28,9 @@ MICROPROFILE_DEFINE(OpenGL_Blits, "OpenGL", "Blits", MP_RGB(100, 100, 255)); MICROPROFILE_DEFINE(OpenGL_CacheManagement, "OpenGL", "Cache Mgmt", MP_RGB(100, 255, 100)); RasterizerOpenGL::RasterizerOpenGL() : shader_dirty(true) { + // Clipping plane 0 is always enabled for PICA fixed clip plane z <= 0 + state.clip_distance[0] = true; + // Create sampler objects for (size_t i = 0; i < texture_samplers.size(); ++i) { texture_samplers[i].Create(); |