gl_rasterizer: Add oglEnablei helper

master
ReinUsesLisp 2019-12-26 01:27:43 +07:00
parent 1698143a1d
commit b95f064b51
1 changed files with 4 additions and 0 deletions

@ -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,