OSDN Git Service

glx_pbuffer: Refactor GetDrawableAttribute
authorAdel Gadllah <adel.gadllah@gmail.com>
Mon, 24 Feb 2014 19:44:41 +0000 (20:44 +0100)
committerEric Anholt <eric@anholt.net>
Sat, 8 Mar 2014 00:59:57 +0000 (16:59 -0800)
commitb972e55684249d85d0e2790a8d713b8be9649188
tree986db6e3588f906a673898cf7aa4c41a08dee4a0
parent6b13cd1f7f635fb7ac7dc7d317bd9c4870d4d81e
glx_pbuffer: Refactor GetDrawableAttribute

Move the pdraw != NULL check out so that they don't
have to be duplicated.

Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glx_pbuffer.c