diff options
author | Tapani Pälli <[email protected]> | 2018-04-03 08:43:18 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-04-03 08:43:30 +0300 |
commit | 6b2139172969e68295c22fda92438637c7a6e6d5 (patch) | |
tree | cdb22c03a359efadfc2e253581169d3e716a6518 /src | |
parent | 0bdbe4583fa031e130731de9e6bdbf767f89a1e5 (diff) |
Revert "mesa: add GL_HALF_FLOAT as supported type to readpixels"
This reverts commit 41cf30b8bc55fdf36adac3311002dc32b6715949.
Commit caused regressions with KHR-GLES3.packed_pixels.* tests.
Signed-off-by: Tapani Pälli <[email protected]>
Suggested-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/readpix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 4407f13289e..6ce340ddf9b 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix.c @@ -920,8 +920,6 @@ read_pixels_es3_error_check(GLenum format, GLenum type, case GL_RGBA: if (type == GL_FLOAT && data_type == GL_FLOAT) return GL_NO_ERROR; /* EXT_color_buffer_float */ - if (type == GL_HALF_FLOAT && data_type == GL_FLOAT) - return GL_NO_ERROR; if (type == GL_UNSIGNED_BYTE && data_type == GL_UNSIGNED_NORMALIZED) return GL_NO_ERROR; if (internalFormat == GL_RGB10_A2 && |