mesa/drivers: Add extra null check in blitframebuffer_texture()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Fri, 25 Apr 2014 08:34:12 +0000 (11:34 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 04:21:39 +0000 (07:21 +0300)
commit5c9056d37f0143eb4c2fe01365b0e6531378ffac
tree078365ec29323da3607173d2a11eeda11c67042a
parent19f1d137f8d5edbbdef4e78186b21a7a5bd08d18
mesa/drivers: Add extra null check in blitframebuffer_texture()

If texObj == NULL here it mean there is already GL_INVALID_VALUE
or GL_OUT_OF_MEMORY error set to context.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta_blit.c