projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654e1ec
)
Avoid leaking VAO in compute_interop tests.
author
Jarkko Pöyry
<jpoyry@google.com>
Thu, 29 Jan 2015 21:48:00 +0000
(13:48 -0800)
committer
Jarkko Pöyry
<jpoyry@google.com>
Thu, 29 Jan 2015 21:50:57 +0000
(13:50 -0800)
Bug:
19197749
Change-Id: I5ba9bafcc13e2b92df47e52d30e5e51a8ebb8b4c
modules/gles31/functional/es31fDrawTests.cpp
patch
|
blob
|
history
diff --git
a/modules/gles31/functional/es31fDrawTests.cpp
b/modules/gles31/functional/es31fDrawTests.cpp
index
5bd9ccc
..
7f28d98
100644
(file)
--- a/
modules/gles31/functional/es31fDrawTests.cpp
+++ b/
modules/gles31/functional/es31fDrawTests.cpp
@@
-1536,15
+1536,15
@@
void ComputeShaderGeneratedCase::renderTo (tcu::Surface& dst)
}
gl.useProgram(0);
- glu::checkError(gl.getError(), "", __FILE__, __LINE__);
-
// free
gl.deleteVertexArrays(1, &vaoID);
+ glu::checkError(gl.getError(), "", __FILE__, __LINE__);
gl.finish();
- glu::
readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess()
);
+ glu::
checkError(gl.getError(), "", __FILE__, __LINE__
);
+ glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
glu::checkError(gl.getError(), "", __FILE__, __LINE__);
}