i965: Avoid null access in intelMakeCurrent()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Fri, 25 Apr 2014 12:20:36 +0000 (15:20 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 23 Sep 2014 07:25:02 +0000 (10:25 +0300)
commit808b8e59c09ac5977ab020bd1771225a4e0a4cc4
tree1f838df6f138475a71c9e46552671fa8b26f8127
parent36f8042e8c4fc60533db299078cd25e13e1d0626
i965: Avoid null access in intelMakeCurrent()

separate two null checks connected with && to their own if branches.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_context.c