diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index cdda8cf2012..7de10e9924b 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -378,7 +378,8 @@ _mesa_has_packed_float(const struct gl_context *ctx) static inline bool _mesa_has_rg_textures(const struct gl_context *ctx) { - return _mesa_has_ARB_texture_rg(ctx) || _mesa_is_gles3(ctx); + return _mesa_has_ARB_texture_rg(ctx) || _mesa_has_EXT_texture_rg(ctx) || + _mesa_is_gles3(ctx); } static inline bool |