Change 1 -> GLX_VENDOR
Replace 1 with GLX_VENDOR for glXGetClientString call.