diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 04:23:09 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-07 05:52:18 +0100 |
commit | f019817f8f6452dec784d8217ef102231319d26c (patch) | |
tree | d49542f0b9b4c26c651d1a3263b3a165c6a8b24b /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #3078 from bunnei/azure-rename-partial (diff) | |
download | yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar.gz yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar.bz2 yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar.lz yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar.xz yuzu-f019817f8f6452dec784d8217ef102231319d26c.tar.zst yuzu-f019817f8f6452dec784d8217ef102231319d26c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index cca25206b..eaff22bda 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -146,6 +146,10 @@ public: std::array<bool, 8> clip_distance = {}; // GL_CLIP_DISTANCE + struct { + GLenum origin = GL_LOWER_LEFT; + } clip_control; + OpenGLState(); /// Get the currently active OpenGL state @@ -182,6 +186,7 @@ public: void ApplyDepthClamp(); void ApplyPolygonOffset(); void ApplyAlphaTest(); + void ApplyClipControl(); /// Resets any references to the given resource OpenGLState& UnbindTexture(GLuint handle); |