diff options
author | Nicolai Hhnle <nicolai.haehnle@amd.com> | 2018-12-27 15:53:07 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-27 15:53:07 -0800 |
commit | 7057870486c2994ce03c40c74370ddb5f5560d6e (patch) | |
tree | 8813da247d2b75fc86d29714cd8bc2fa65d683d6 | |
parent | 2510d0d22d7e99df67cc74de7fe0c59adafd70d2 (diff) | |
parent | 0d33d3db0cf50556beb99d883f9cbfe14fd99304 (diff) | |
download | deqp-nougat-mr1-cts-dev.tar.gz |
teglImageFormatTests: call glFinish after creating the buffer in the client APInougat-mr1-cts-dev
am: 0d33d3db0c
Change-Id: Iea05ba34d13d16f28e91eb03d5a7285dd38d5b30
-rw-r--r-- | modules/egl/teglImageFormatTests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/egl/teglImageFormatTests.cpp b/modules/egl/teglImageFormatTests.cpp index b0eea9484..4b7292d2e 100644 --- a/modules/egl/teglImageFormatTests.cpp +++ b/modules/egl/teglImageFormatTests.cpp @@ -316,6 +316,9 @@ bool GLES2ImageApi::GLES2Action::invoke (ImageApi& api, MovePtr<UniqueImage>& im bool GLES2ImageApi::Create::invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const { de::UniquePtr<ClientBuffer> buffer (m_imgSource->createBuffer(api.m_gl, &ref)); + + GLU_CHECK_GLW_CALL(api.m_gl, finish()); + image = api.createImage(*m_imgSource, *buffer); return true; } |