diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 05:27:43 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:39:44 +0100 |
commit | b95f064b51cf5638e356f455a834809a76778c89 (patch) | |
tree | 0a83934bf1af326bafd2a850a5dc12665ee3e9d7 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_rasterizer: Add OpenGL enable/disable helper (diff) | |
download | yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar.gz yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar.bz2 yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar.lz yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar.xz yuzu-b95f064b51cf5638e356f455a834809a76778c89.tar.zst yuzu-b95f064b51cf5638e356f455a834809a76778c89.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 1fc05e041..7cd522da0 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -92,6 +92,10 @@ void oglEnable(GLenum cap, bool state) { (state ? glEnable : glDisable)(cap); } +void oglEnablei(GLenum cap, bool state, GLuint index) { + (state ? glEnablei : glDisablei)(cap, index); +} + } // Anonymous namespace RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWindow& emu_window, |