diff options
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index d8a548f1b1b..d4fe774577e 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -337,6 +337,12 @@ _mesa_is_no_error_enabled(const struct gl_context *ctx) } +static inline bool +_mesa_has_integer_textures(const struct gl_context *ctx) +{ + return _mesa_has_EXT_texture_integer(ctx) || _mesa_is_gles3(ctx); +} + /** * Checks if the context supports geometry shaders. */ |