diff --git a/scene_opengl.cpp b/scene_opengl.cpp index fc249ce85a..a3a8da8246 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1082,6 +1082,7 @@ SceneOpenGL::EffectFrame::~EffectFrame() void SceneOpenGL::EffectFrame::free() { + glFlush(); delete m_texture; m_texture = NULL; delete m_textTexture;