diff options
Diffstat (limited to 'src/mesa/main/genmipmap.c')
-rw-r--r-- | src/mesa/main/genmipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/genmipmap.c b/src/mesa/main/genmipmap.c index d917220f7e8..5e780c97ca8 100644 --- a/src/mesa/main/genmipmap.c +++ b/src/mesa/main/genmipmap.c @@ -90,7 +90,7 @@ _mesa_is_valid_generate_texture_mipmap_internalformat(struct gl_context *ctx, internalformat == GL_LUMINANCE_ALPHA || internalformat == GL_LUMINANCE || internalformat == GL_ALPHA || (_mesa_is_es3_color_renderable(internalformat) && - _mesa_is_es3_texture_filterable(internalformat)); + _mesa_is_es3_texture_filterable(ctx, internalformat)); } return (!_mesa_is_enum_format_integer(internalformat) && |