commit | 9d9879abed5bf99bc7beb9e20ac71a179585ff90 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Fri Aug 15 16:55:40 2014 -0600 |
committer | Brian Paul <brianp@vmware.com> | Sat Aug 16 06:48:45 2014 -0600 |
tree | b29516bd2418c17013ee3393222c0a87ae496318 | |
parent | cf8b680f40a4d1a48be82798b7a09da2d828bee5 [diff] |
mesa: fix compressed_subtexture_error_check() return value The function should return GLboolean, not GLenum. If we detect invalid compressed pixel storage parameters, we should return GL_TRUE, not GL_FALSE so that the function is no-op'd. An update to the piglit s3tc-errors test will check this. Reviewed-by: Matt Turner <mattst88@gmail.com>