Qt / OpenGL: fix delete_context
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user