diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-06 04:22:06 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-06 05:59:37 +0200 |
commit | 254582aa35306c7bdebb90b0cd2dda88fe188087 (patch) | |
tree | 35cd21873666116fba7a3fac3df1580e8d59b79a /src/video_core/renderer_opengl/gl_state.h | |
parent | OpenGL: Remove redundant texture.enable_2d field from OpenGLState (diff) | |
download | yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar.gz yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar.bz2 yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar.lz yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar.xz yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.tar.zst yuzu-254582aa35306c7bdebb90b0cd2dda88fe188087.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 03b7e26f7..3e2379021 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -73,6 +73,12 @@ public: /// Apply this state as the current OpenGL state void Apply(); + static void ResetTexture(GLuint id); + static void ResetProgram(GLuint id); + static void ResetBuffer(GLuint id); + static void ResetVertexArray(GLuint id); + static void ResetFramebuffer(GLuint id); + private: static OpenGLState cur_state; }; |