mesa/extensions: Create _mesa_extension_supported()
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 2 Sep 2015 18:53:16 +0000 (11:53 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 12 Nov 2015 21:10:37 +0000 (13:10 -0800)
commitf6a818e76d09633c37057703ba1796ecd5678317
tree85043d9db47314104a482ac9b692427263acb672
parentf47df8f729abfda177120a1437197372fd19b83f
mesa/extensions: Create _mesa_extension_supported()

Create a function which determines if an extension is supported in the
current context.

v2: Use common variable names (Emil)
    Insert new line between variables and return statement (Chad)
    Rename api_set variable to api_bit (Chad)

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/main/extensions.c