summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-17 09:46:59 +0200
committerwwylele <wwylele@gmail.com>2017-08-21 07:03:07 +0200
commit1eca380886b5028e027f1380c04f221ac94ed47d (patch)
tree2e6b15be4c3fa915f59c80f04395cad09859394c /src/video_core/renderer_opengl/gl_state.h
parentMerge pull request #2872 from wwylele/sw-geo-factor (diff)
downloadyuzu-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.h3
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