glx: fix rotation regression. bug #14963