Rewrite WSwan_SetPixelFormat