Fix GL errors expected for glClearNamedBufferData and glClearNamedBufferSubData
authorasokolow <aleksy.sokolowski@intel.com>
Thu, 20 Sep 2018 09:56:25 +0000 (11:56 +0200)
committerSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 25 Jan 2019 11:15:57 +0000 (06:15 -0500)
commitf75dfb8cf0d138a88b668baa6755e3abe89d4557
treefd7a72fc6f433868fc142d772def572920737c15
parent83666e46b24023855ab290592f708dd5d15b080b
Fix GL errors expected for glClearNamedBufferData and glClearNamedBufferSubData

The spec says:

"An INVALID_VALUE error is generated if type is not one of the types in
table 8.2.
An INVALID_VALUE error is generated if format is not one of the formats
in table 8.3."

However, the test was expecting INVALID_ENUM

Components: OpenGL

VK-GL-CTS Issue: 1572

Change-Id: Ibcb338061584af48026b291c4372303c083102ea
Affects: KHR-GL45.direct_state_access.buffers_errors
external/openglcts/modules/gl/gl4cDirectStateAccessBuffersTests.cpp