fixed a bug that cannot find glXGetCurrent(Context|Display)