Skip to content

Commit

Permalink
feat: opt case
Browse files Browse the repository at this point in the history
  • Loading branch information
luzhuang committed May 17, 2024
1 parent 42f8d97 commit dc173dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galacean/collider-benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function addBox(
return boxEntity;
}
//----------------------------------------------------------------------------------------------------------------------
WebGLEngine.create({ canvas: "canvas", physics: new PhysXPhysics() }).then(
WebGLEngine.create({ canvas: "canvas", physics: new PhysXPhysics(), graphicDeviceOptions: { powerPreference: "high-performance" } }).then(
(engine) => {
engine.canvas.resizeByClientSize();
const scene = engine.sceneManager.activeScene;
Expand Down

0 comments on commit dc173dd

Please sign in to comment.