Reset GL_FRAMEBUFFER_SRGB state for ES tests
authorjames.glanville <james.glanville@imgtec.com>
Wed, 17 May 2017 12:45:37 +0000 (13:45 +0100)
committerjames.glanville <james.glanville@imgtec.com>
Wed, 17 May 2017 13:25:23 +0000 (14:25 +0100)
commit052d2a58ced7c64c708fdaf71d81bd6d0b066efe
tree7bcafb2eba502a8ac0d9637c143d51d2063609bc
parentab92cdbb586cb447900c47c6f538d4c5ffb82c4a
Reset GL_FRAMEBUFFER_SRGB state for ES tests

GL_EXT_sRGB_write_control adds new state "GL_FRAMEBUFFER_SRGB" which
is enabled by default. This was not reset between tests, meaning state
could leak between tests.

Affects: dEQP-GLES31.functional.fbo.srgb_write_control.
framebuffer_srgb_enabled

Components: AOSP
framework/opengl/gluStateReset.cpp