renderer: fixed the windows build, had to add a roundtrip function.