mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
ThreadBase rewritten (wip)
This commit is contained in:
parent
b7a320fbbd
commit
3aefa2b4e1
85 changed files with 1960 additions and 2183 deletions
|
|
@ -794,6 +794,11 @@ GLGSRender::GLGSRender()
|
|||
|
||||
GLGSRender::~GLGSRender()
|
||||
{
|
||||
if (joinable())
|
||||
{
|
||||
throw EXCEPTION("Thread not joined");
|
||||
}
|
||||
|
||||
m_frame->Close();
|
||||
m_frame->DeleteContext(m_context);
|
||||
}
|
||||
|
|
@ -814,7 +819,8 @@ extern CellGcmContextData current_context;
|
|||
|
||||
void GLGSRender::Close()
|
||||
{
|
||||
Stop();
|
||||
cv.notify_one();
|
||||
join();
|
||||
|
||||
if (m_frame->IsShown())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue