Skip to content

Commit

Permalink
Merge pull request #183 from gpSWE/dev
Browse files Browse the repository at this point in the history
Minor improvements
  • Loading branch information
StrandedKitty authored Jun 12, 2024
2 parents 2caaab9 + 7cb0783 commit 0307b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/terrain/TerrainHeightLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class TerrainHeightLoader {

public constructor() {
this.decodingCanvas = document.createElement('canvas');
this.decodingCtx = this.decodingCanvas.getContext('2d');
this.decodingCtx = this.decodingCanvas.getContext('2d', {willReadFrequently:true});
}

public async getOrLoadTile(
Expand Down

0 comments on commit 0307b21

Please sign in to comment.