Fix typo in framebuffer_srgb_unsupported_enum
authorPyry Haulos <phaulos@google.com>
Mon, 3 Apr 2017 15:32:07 +0000 (08:32 -0700)
committerPyry Haulos <phaulos@google.com>
Mon, 3 Apr 2017 15:32:07 +0000 (08:32 -0700)
commit2e78febdaee1265f1b911724b0a87fb5af2a3144
tree10079d03df30a90129340ed4b3921d49a1ace977
parentc6cb3bb165675782fb0572209ee32f01ee3652a1
Fix typo in framebuffer_srgb_unsupported_enum

Test case was not assigning gl.getError() return value into a variable
causing tests to always fail on implementations that don't support ES3.2
or GL_EXT_sRGB_write_control.

Affects:

dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: Iafc38b8152f3371ce8c016c4f70feb2bb4604c69
modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp