diff options
author | Neil Roberts <[email protected]> | 2014-07-25 17:38:22 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2014-08-12 18:23:50 +0100 |
commit | 88a8830390c8c7557d2e852dcef94ae6f04eb6b5 (patch) | |
tree | 1f001e59cf5d38f0a924ad3db746c59f0bc7cccc /src/mesa/main/shared.c | |
parent | 17cde55c538009764207bd29b78a909d2c5d14b4 (diff) |
mesa/main: Modify generate_mipmap_compressed to cope with float textures
Once we add BPTC texture support we will need to generate mipmaps for
compressed floating point textures too. Most of the code seems to already be
there but it just needs a few extra lines to get it to use GL_FLOAT instead of
GL_UNSIGNED_BYTE as the type for the temporary buffers.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/shared.c')
0 files changed, 0 insertions, 0 deletions