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_state.h | |
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 '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 745a74479..437fe34c4 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -4,6 +4,7 @@ #pragma once +#include <array> #include <glad/glad.h> namespace TextureUnits { @@ -123,6 +124,8 @@ public: GLuint shader_program; // GL_CURRENT_PROGRAM } draw; + std::array<bool, 2> clip_distance; // GL_CLIP_DISTANCE + OpenGLState(); /// Get the currently active OpenGL state |