when creating the NSOpenGLPixelFormat, assert success before handing back a nil format