rsx: Rework context handling and stop leaking the GL ccontext

- GL contexts are external handles that require manual lifecycle management
This commit is contained in:
kd-11 2017-11-03 20:43:11 +03:00
parent 4ca98e53a6
commit 75504b3f5e
7 changed files with 34 additions and 31 deletions

View file

@ -154,7 +154,7 @@ void* gs_frame::handle() const
#endif
}
void* gs_frame::make_context()
draw_context_t gs_frame::make_context()
{
return nullptr;
}
@ -164,7 +164,7 @@ void gs_frame::set_current(draw_context_t ctx)
Q_UNUSED(ctx);
}
void gs_frame::delete_context(void* ctx)
void gs_frame::delete_context(draw_context_t ctx)
{
Q_UNUSED(ctx);
}