gl_rasterizer: Add oglEnablei helper

This commit is contained in:
ReinUsesLisp
2019-12-26 01:27:43 -03:00
parent 60a15acaf8
commit 3bccf937c7

View File

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