Refactor RSX glEnable cmd