RSX: refactor glEnable cmd