xdemos/glsync: check glXMakeCurrent return value

Since this program is used for testing, catching this case can be helpful.
1 file changed