import { GfxDevice , GfxViewportOrigin } from "../platform/GfxPlatform" ; export function gfxDeviceNeedsFlipY ( device ) { const vendorInfo = device . queryVendorInfo ( ) ; return vendorInfo . viewportOrigin === GfxViewportOrigin . LowerLeft ; }