mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-15 18:40:00 +00:00
Qt / OpenGL: fix delete_context
This commit is contained in:
parent
2db2114a45
commit
cd4b28b4d7
@ -42,7 +42,7 @@ void gl_gs_frame::set_current(draw_context_t 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user