egl_dri2: Move filling context_attrib array in a separate function
authorBoyan Ding <boyan.j.ding@gmail.com>
Tue, 21 Jul 2015 15:43:56 +0000 (23:43 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Sep 2015 10:25:18 +0000 (11:25 +0100)
commitb9ea608c1a0f3356f5c4e13bdd7307b726dc42ba
tree9c205390bfaa374dca8eff1541197a3f860a94df
parentb8d6de87f6e2d5fc621db573b9ce579b1a27ee56
egl_dri2: Move filling context_attrib array in a separate function

v2: Change return type of the new function from int to bool

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
src/egl/drivers/dri2/egl_dri2.c