diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-11 19:58:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-11 19:58:16 -0800 |
| commit | 2c6efda2352a1133a1091d2aa206b1f044b7642a (patch) | |
| tree | 2a1bbae2d93fb2a52f0ff3f7802919cef8b4d6d3 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 7474382266ef62324dfccc3bb35d866073f90240 (diff) | |
| parent | 72b1fae98480b781a17524e65b0be6e3d6151b4a (diff) | |
Merge pull request #1660 from Tinob/master
Map more missing opengl states
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 |
