diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-09-25 13:25:40 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-09-25 13:24:56 +0000 |
commit | 6ed348b476938c9401f1f9bb751f3a0f2f4ac310 (patch) | |
tree | 7d7842b6d34c7ae87c348bdf840408dfc6f06b8e | |
parent | e8a82901e2456bd6112cb1298b795f202b80a36d (diff) |
EVR: Fix crash when video source is changed and ANGLE is used
Task-number: QTBUG-70672
Change-Id: I38c1e868dd05835489a49e6c29d9ad1a36a5f7a9
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
-rw-r--r-- | src/plugins/common/evr/evrd3dpresentengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/common/evr/evrd3dpresentengine.cpp b/src/plugins/common/evr/evrd3dpresentengine.cpp index 54403faba..f6f64836c 100644 --- a/src/plugins/common/evr/evrd3dpresentengine.cpp +++ b/src/plugins/common/evr/evrd3dpresentengine.cpp @@ -186,7 +186,7 @@ public: m_glContext->functions()->glBindTexture(GL_TEXTURE_2D, m_glTexture); m_egl->bindTexImage(m_eglDisplay, m_eglSurface, EGL_BACK_BUFFER); - return texture != NULL; + return *texture != NULL; } void release() |