diff options
author | Alejandro PiƱeiro <[email protected]> | 2015-11-20 10:34:50 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:06 +0100 |
commit | 95392cfa9d815ec985ba14dfe347b30d232ed9e7 (patch) | |
tree | ab7cae295d17e67d8f192ef821242d291ab0e026 /src/mesa/main/teximage.h | |
parent | aaf5ad513b790a2d0f97dd757ff69ea78c375529 (diff) |
mesa/main: not fill mesa_error on _mesa_legal_texture_base_format_for_target
This would allow to use this method if you are just querying if it is
allowed, like for arb_internalformat_query2.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 41f145c4cc8..5a29c6c687d 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -210,9 +210,7 @@ _mesa_validate_texbuffer_format(const struct gl_context *ctx, bool _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, GLenum target, - GLenum internalFormat, - unsigned dimensions, - const char *caller); + GLenum internalFormat); bool _mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format); |