diff options
Diffstat (limited to 'tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp')
-rw-r--r-- | tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp b/tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp index 503e326f38..8f51f511c9 100644 --- a/tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp +++ b/tests/manual/qopengltextureblitter/qopengltextureblitwindow.cpp @@ -81,6 +81,7 @@ void QOpenGLTextureBlitWindow::render() glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); QOpenGLTexture texture(m_image); + texture.setWrapMode(QOpenGLTexture::ClampToEdge); texture.create(); QOpenGLTexture texture_mirrored(m_image_mirrord); |