diff options
author | Ilia Mirkin <[email protected]> | 2016-02-12 13:12:09 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-02-12 18:22:49 -0500 |
commit | b7e246d89afb2c6072fd65f6bf01a1921afc6d2a (patch) | |
tree | e9b3a787d76a2bf84e14c5cc55417fedcf60462a /src/mesa/main/getstring.c | |
parent | a663aa2a3793eaaead9332cdb315c31389254276 (diff) |
mesa: recognize enums GL_COLOR_ATTACHMENT8-31 as valid
Similar as for AUX1-3, these enums aren't invalid (i.e. -1) but also not
supported by mesa. Returning BUFFER_COUNT causes the proper error to be
returned by ReadBuffer and other functions. This resolves some failures
in
dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.read_buffer
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/getstring.c')
0 files changed, 0 insertions, 0 deletions