Skip to content

Commit

Permalink
chore: set default renderer to device
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed May 16, 2024
1 parent 3e33888 commit 5c022b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scene/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Scene implements IPostProcessingPassPluggable, IMapController, ILayerManag
private container: L7Container;

public constructor(config: ISceneConfig) {
const { id, map, canvas, renderer = 'regl' } = config;
const { id, map, canvas, renderer = 'device' } = config;
// 鍒涘缓鍦烘櫙瀹瑰櫒
const sceneContainer = createSceneContainer();
this.container = sceneContainer;
Expand Down

0 comments on commit 5c022b8

Please sign in to comment.