mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 21:22:54 +00:00
gl_rasterizer: Add oglEnablei helper
This commit is contained in:
parent
1698143a1d
commit
b95f064b51
|
@ -92,6 +92,10 @@ void oglEnable(GLenum cap, bool state) {
|
||||||
(state ? glEnable : glDisable)(cap);
|
(state ? glEnable : glDisable)(cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void oglEnablei(GLenum cap, bool state, GLuint index) {
|
||||||
|
(state ? glEnablei : glDisablei)(cap, index);
|
||||||
|
}
|
||||||
|
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
||||||
RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWindow& emu_window,
|
RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWindow& emu_window,
|
||||||
|
|
Loading…
Reference in a new issue