mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-30 10:10:25 +00:00
Clean up gl_query_core_context
at the end of OpenGLRenderState
's life
This commit is contained in:
parent
5552f4d5f6
commit
f3b188b594
@ -185,6 +185,7 @@ MelonDsDs::OpenGLRenderState::~OpenGLRenderState() noexcept {
|
||||
glsm_ctl(GLSM_CTL_STATE_UNBIND, nullptr);
|
||||
}
|
||||
glsm_ctl(GLSM_CTL_STATE_CONTEXT_DESTROY, nullptr);
|
||||
gl_query_core_context_unset();
|
||||
}
|
||||
|
||||
void MelonDsDs::OpenGLRenderState::ContextReset(melonDS::NDS& nds, const CoreConfig& config) {
|
||||
|
Loading…
Reference in New Issue
Block a user