checking for ARB_multisample extension before choosing pixelfmt