diff options
author | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-08 02:27:47 +0100 |
---|---|---|
committer | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-11 20:36:53 +0100 |
commit | 4e6c64bf8d3622c6296f70ab64018c8c85855b0b (patch) | |
tree | d5b7484ed81357808e471e2dbcf441b93b7082a3 /src/video_core/renderer_opengl/gl_state.h | |
parent | Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors. (diff) | |
download | yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.gz yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.bz2 yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.lz yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.xz yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.tar.zst yuzu-4e6c64bf8d3622c6296f70ab64018c8c85855b0b.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index b8cf1f637..eacca0b9c 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -181,6 +181,10 @@ public: } /// Apply this state as the current OpenGL state void Apply() const; + /// Apply only the state afecting the framebuffer + void ApplyFramebufferState() const; + /// Apply only the state afecting the vertex buffer + void ApplyVertexBufferState() const; /// Set the initial OpenGL state static void ApplyDefaultState(); /// Resets any references to the given resource |