intel: Don't check for context pointer to be NULL during extension init
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 12 Nov 2009 23:39:59 +0000 (15:39 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 12 Nov 2009 23:43:09 +0000 (15:43 -0800)
commitb6b753f72728b734fc9886f4ec513ae09e6b269d
tree33766b6710622f2dbcfb5900cff41311e9437982
parenta736d3f4399a99b54d6af140f2227253f2ee262b
intel: Don't check for context pointer to be NULL during extension init

Thanks to Chia-I Wu's changes to the extension function
infrastructure, we no longer have to tell the loader which extensions
the driver might enable.  This means that intelInitExtensions will
never be called with a NULL context pointer.  Remove all the NULL checks.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_extensions.c