diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 04:28:46 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:39:44 +0100 |
commit | 1698143a1d3af8d743c4204007995f7b26251233 (patch) | |
tree | 73e8ffb29765ccdf64b74d97f737b90d6975ccec /src | |
parent | gl_rasterizer: Remove dirty flags (diff) | |
download | yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar.gz yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar.bz2 yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar.lz yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar.xz yuzu-1698143a1d3af8d743c4204007995f7b26251233.tar.zst yuzu-1698143a1d3af8d743c4204007995f7b26251233.zip |
Diffstat (limited to 'src')
-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 1d203fd08..1fc05e041 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -88,6 +88,10 @@ std::size_t GetConstBufferSize(const Tegra::Engines::ConstBufferInfo& buffer, return buffer.size; } +void oglEnable(GLenum cap, bool state) { + (state ? glEnable : glDisable)(cap); +} + } // Anonymous namespace RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWindow& emu_window, |