mesa/es: NULL check in EGLImageTargetTexture2DOES
authorTapani Pälli <tapani.palli@intel.com>
Wed, 20 Feb 2013 11:00:08 +0000 (13:00 +0200)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 25 Feb 2013 17:17:31 +0000 (09:17 -0800)
commit3cdb548bfbc77522ed4e956f7457c8339182ff8c
treeacd135d37e36491bc1130bdbfd050a878bebabac
parent331967c7733c1146bd6b3a11908d9fdd6b213d72
mesa/es: NULL check in EGLImageTargetTexture2DOES

check that pointer passed is valid and return error if not.

Note: This is a candidate for the stable branches.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/main/teximage.c