Commit c31117d9 authored by Alfakhori's avatar Alfakhori
Browse files

Limit the rendering resolution

parent 436b1908
Pipeline #12465 passed with stage
in 23 seconds
......@@ -1076,6 +1076,11 @@ async function activateXR(
context: gl
});
renderer.setPixelRatio(
math.min(
window.devicePixelRatio, 1.5
)
);
renderer.autoClear = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment