x11: Initialize m_target of EGL platform surface texture

We need to initialize m_target; otherwise the surface texture won't be
bound to GL_TARGET_2D.
This commit is contained in:
Vlad Zahorodnii 2021-06-10 18:49:35 +03:00
parent 40d708f9c5
commit a9e4d6d1f7

View file

@ -155,6 +155,7 @@ EglPixmapTexturePrivate::EglPixmapTexturePrivate(EglPixmapTexture *texture, EglB
: q(texture)
, m_backend(backend)
{
m_target = GL_TEXTURE_2D;
}
EglPixmapTexturePrivate::~EglPixmapTexturePrivate()