diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2019-03-22 09:15:06 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2019-04-02 04:52:05 +0000 |
commit | 510d86009672621c1761658e98e9922894018986 (patch) | |
tree | 130a0cafcbc47a6de0bce2e79a0af8b8290e9e28 | |
parent | 2f7a6a5a0ec2be6d519680f160d56953d3edd837 (diff) | |
download | piglit-510d86009672621c1761658e98e9922894018986.tar.gz |
ext_semaphore: add check for glGetIntegerv(GL_NUM_DEVICE_UUIDS_EXT)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
-rw-r--r-- | tests/spec/ext_semaphore/api-errors.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/spec/ext_semaphore/api-errors.c b/tests/spec/ext_semaphore/api-errors.c index b1c426cc5..b511d18cd 100644 --- a/tests/spec/ext_semaphore/api-errors.c +++ b/tests/spec/ext_semaphore/api-errors.c @@ -60,6 +60,9 @@ test_get_unsigned_byte_i_v_value_errors(void * unused) glGetIntegerv(GL_NUM_DEVICE_UUIDS_EXT, &numDevices); + if (!piglit_check_gl_error(GL_NO_ERROR)) + return PIGLIT_FAIL; + glGetUnsignedBytei_vEXT(GL_DEVICE_UUID_EXT, numDevices + 1, data); return RESULT(GL_INVALID_VALUE); |