Set correct mipMapFilter for reflection map
As the render doc error message said "The texture is incomplete:
TEXTURE_MIN_FILTER is GL_LINEAR_MIPMAP_LINEAR which requires mipmaps but
the texture is mipmap incomplete."
So we set the filter to LINEAR only if it has mipmaps, otherwise we set
it to NONE.
Fixes: QTBUG-143697
Pick-to: 6.11 6.10 6.8
Change-Id: I4dee5f2b8dc6a3d9b414c2b0bc625d9633c43930
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
| commit | 7f6c25246e21670c8aaed4ecd3522dd78de080e0 |
| parent | 7d795d666388a9e0a97e26a8ef7532581df29e70 |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Thu, 16 Apr 2026 09:58:41 +0000 |