diff --git a/scene_opengl.cpp b/scene_opengl.cpp index a98ea30919..06650cf108 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -2187,7 +2187,10 @@ void SceneOpenGL::EffectFrame::updateTexture() { delete m_texture; if( m_effectFrame->style() == Styled ) - m_texture = new GLTexture( m_effectFrame->frame().framePixmap() ); + { + QPixmap pixmap = m_effectFrame->frame().framePixmap(); + m_texture = new Texture( pixmap.handle(), pixmap.size(), pixmap.depth() ); + } } void SceneOpenGL::EffectFrame::updateTextTexture()