commit | db8565739a0c41c0685928caace975a766ffc9ca | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Tue Mar 01 12:03:48 2016 -0800 |
committer | Yahan Zhou <yahan@google.com> | Tue Mar 01 12:03:48 2016 -0800 |
tree | bf7b8a79c3c44c01eec53386ca4f1d8bf3c7bef1 | |
parent | d6217a5f991123ade8c325cfa5aeefeedd127057 [diff] |
glActiveTexture should set GL_INVALID_ENUM when taking wrong input The GL spec says it generates GL_INVALID_ENUM if taking a wrong input. Currently it generates GL_INVALID_OPERATION which is not the expected error code. Change-Id: I3313ad49130651d0358dbd3bdeb67b7e2d4fd5d9