Remove resolution option

This commit is contained in:
Bill 2023-07-19 22:34:56 -04:00
parent e0651c6f38
commit cf73afd43d

View File

@ -209,7 +209,7 @@ const useRoomState = () =>
{
renderer.view.style.width = `${ width }px`;
renderer.view.style.height = `${ height }px`;
renderer.resolution = window.devicePixelRatio;
//renderer.resolution = window.devicePixelRatio;
renderer.resize(width, height);
}
@ -269,7 +269,7 @@ const useRoomState = () =>
renderer.view.style.width = `${ width }px`;
renderer.view.style.height = `${ height }px`;
renderer.resolution = window.devicePixelRatio;
//renderer.resolution = window.devicePixelRatio;
renderer.resize(width, height);
background.width = width;