fix gl qgl copypasta