diff --git a/abstract_egl_backend.cpp b/abstract_egl_backend.cpp index 2019de982a..31bbf70dab 100644 --- a/abstract_egl_backend.cpp +++ b/abstract_egl_backend.cpp @@ -182,6 +182,7 @@ AbstractEglTexture::AbstractEglTexture(SceneOpenGL::Texture *texture, AbstractEg : SceneOpenGL::TexturePrivate() , q(texture) , m_backend(backend) + , m_image(EGL_NO_IMAGE_KHR) { m_target = GL_TEXTURE_2D; }