mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-14 19:22:56 +01:00
gl_rasterizer: Add oglEnablei helper
This commit is contained in:
1 parent
7cc8204131
commit
c158d37e68
1 file changed
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user