DirectStateAccessTexturesTests: fix textures_parameters_errors
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 20 Feb 2017 12:23:16 +0000 (13:23 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 24 Feb 2017 17:00:29 +0000 (12:00 -0500)
commitca58fbf77d65e69c629529078dd6d9335ae3f222
tree2b25af71669027a8f96b1bc96a310526bd39332a
parent93bc8300503a48a5008e7aef23e7dc5567fbe809
DirectStateAccessTexturesTests: fix textures_parameters_errors

Right now GL45-CTS.direct_state_access.textures_parameter_errors
expects INVALID_OPERATION when using a wrong target.

From OpenGL 4.5 spec, section 8.11.2, Texture Parameter Queries:

   "An INVALID_ENUM error is generated if the effective target is not
    one of the texture targets described above."

The test even has a comment about expecting a INVALID_ENUM, so this
seems a typo when calling CheckErrorAndLog

Affects:
GL45-CTS.direct_state_access.textures_parameter_errors

Components: OpenGL

VK-GL-CTS issue: 180

Change-Id: Id82559090ccefa5713b0dd01d0ef26fdf4860ed3
external/openglcts/modules/gl/gl4cDirectStateAccessTexturesTests.cpp