mesa/genmipmap: Added a function to check if the target is valid
authorAntia Puentes <apuentes@igalia.com>
Thu, 26 Nov 2015 14:08:47 +0000 (15:08 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:06 +0000 (15:14 +0100)
commit06852f4b7a1ab9ea724bd7708662b2e6549aa98e
treec99373f428083ac51e50a07efb204bd7ee9dde83
parentdf3a37311d2cb1bf83e6803a8c974b7269d4c3c9
mesa/genmipmap: Added a function to check if the target is valid

It will be used by the ARB_internalformat_query2 implementation to
implement mipmap related queries.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/genmipmap.c
src/mesa/main/genmipmap.h