putsurface: fix regression when psb_putsurface_x11 is used
Merge pull request #7 from halleyzhao/master

putsurface: fix regression when psb_putsurface_x11 is used