diff options
author | Antia Puentes <[email protected]> | 2015-11-04 16:51:01 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:06 +0100 |
commit | 5eef3558231854f52059e1745b2f2a0cfdc816a4 (patch) | |
tree | 682d78093a35a791b1dc24be0f9dbd81be946308 /src/mesa/main/teximage.h | |
parent | b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5 (diff) |
mesa/teximage: make public is_renderable_texture_format
It will be used by the ARB_internalformat_query2 implementation
to check if the 'internalformat' passed is supported by texture
MULTISAMPLE 'targets'.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 17f2c908ecc..b3829aa56a5 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -214,6 +214,9 @@ _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, unsigned dimensions, const char *caller); +GLboolean +_mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat); + extern void _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, |