diff options
author | Antia Puentes <[email protected]> | 2015-11-15 21:31:36 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:06 +0100 |
commit | aaf5ad513b790a2d0f97dd757ff69ea78c375529 (patch) | |
tree | ff6c6d20a624d6b40786373646fbc16c83726887 /src/mesa/main/teximage.c | |
parent | 5eef3558231854f52059e1745b2f2a0cfdc816a4 (diff) |
mesa/teximage: Make _mesa_format_no_online_compression public
It will be used by the ARB_internalformat_query2 implementation
to check if a certain compressed 'internalformat' is supported
by texture 'targets'.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3f8e2a6dd4d..63c28d1447d 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1266,7 +1266,7 @@ compressedteximage_only_format(const struct gl_context *ctx, GLenum format) /** * Return true if the format doesn't support online compression. */ -static bool +bool _mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format) { return _mesa_is_astc_format(format) || |