Qt / OpenGL: fix delete_context

This commit is contained in:
Megamouse 2017-09-09 16:14:19 +02:00 committed by Ani
parent 2db2114a45
commit cd4b28b4d7
1 changed files with 1 additions and 1 deletions

View File

@ -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)