diff options
author | Brian Paul <[email protected]> | 2016-07-13 13:52:31 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-07-15 14:24:34 -0600 |
commit | e477d92c94d6415d2844f68766adf5339aebe7bf (patch) | |
tree | 18723ec9a87ff2c2ffaeaeab4edef9ce660288ba /src/mesa/main/texcompress_bptc.h | |
parent | 6b7923ee46eca7b98a36992f77fea362b469a1d9 (diff) |
mesa: use _mesa_clear_texture_image() in clear_texture_fields()
This avoids a failed assert(img->_BaseFormat != -1) in
init_teximage_fields_ms() because the internalFormat argument is GL_NONE.
This was hit when using glTexStorage() to do a proxy texture test.
Fixes a failure with the updated Piglit tex3d-maxsize test.
Cc: <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_bptc.h')
0 files changed, 0 insertions, 0 deletions