mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
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:
parent
4ca98e53a6
commit
75504b3f5e
7 changed files with 34 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue