mesa/main: not fill mesa_error on _mesa_legal_texture_base_format_for_target
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 20 Nov 2015 09:34:50 +0000 (10:34 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:06 +0000 (15:14 +0100)
commit95392cfa9d815ec985ba14dfe347b30d232ed9e7
treeab7cae295d17e67d8f192ef821242d291ab0e026
parentaaf5ad513b790a2d0f97dd757ff69ea78c375529
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 <airlied@redhat.com>
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texstorage.c