Fix broken gl test

Fix gl test that appears to have been broken by 2cf494e17e96fdd93743d8c16637f1261aafda82.