mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
Qt / OpenGL: fix delete_context
This commit is contained in:
parent
2db2114a45
commit
cd4b28b4d7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ void gl_gs_frame::set_current(draw_context_t ctx)
|
||||||
|
|
||||||
void gl_gs_frame::delete_context(void* ctx)
|
void gl_gs_frame::delete_context(void* ctx)
|
||||||
{
|
{
|
||||||
delete (QOpenGLContext*)ctx;
|
((QOpenGLContext*)ctx)->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gl_gs_frame::flip(draw_context_t context, bool skip_frame)
|
void gl_gs_frame::flip(draw_context_t context, bool skip_frame)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue