Handle texel-pixel offset with diferents graphics APIs.