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:
parent
40d708f9c5
commit
a9e4d6d1f7
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ EglPixmapTexturePrivate::EglPixmapTexturePrivate(EglPixmapTexture *texture, EglB
|
|||
: q(texture)
|
||||
, m_backend(backend)
|
||||
{
|
||||
m_target = GL_TEXTURE_2D;
|
||||
}
|
||||
|
||||
EglPixmapTexturePrivate::~EglPixmapTexturePrivate()
|
||||
|
|
Loading…
Reference in a new issue