Updated the native GLX surface wrapper