diff options
author | Marcos <marcosvitali@users.noreply.github.com> | 2018-11-27 00:31:44 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-11-27 00:31:44 +0100 |
commit | cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2 (patch) | |
tree | d8eebad471412afebbee0c0e465655695b8df585 /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #1713 from FernandoS27/bra-cc (diff) | |
download | yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar.gz yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar.bz2 yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar.lz yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar.xz yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.tar.zst yuzu-cb8d51e37e7d630f1ea3dc816b2d5aaab2295bc2.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 032fc43f0..0bf19ed07 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -176,6 +176,15 @@ public: float size; // GL_POINT_SIZE } point; + struct { + bool point_enable; + bool line_enable; + bool fill_enable; + GLfloat units; + GLfloat factor; + GLfloat clamp; + } polygon_offset; + std::array<bool, 2> clip_distance; // GL_CLIP_DISTANCE OpenGLState(); @@ -226,6 +235,7 @@ private: void ApplyLogicOp() const; void ApplyTextures() const; void ApplySamplers() const; + void ApplyPolygonOffset() const; }; } // namespace OpenGL |