Skip to content

Commit

Permalink
Merge pull request #4180 from Tyriar/clear_atlas
Browse files Browse the repository at this point in the history
Fix clearTextureAtlas call as implemented on IRenderer
  • Loading branch information
Tyriar committed Oct 7, 2022
2 parents eb3de3e + e89c507 commit 5fcb084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/xterm-addon-webgl/src/WebglAddon.ts
Expand Up @@ -62,6 +62,6 @@ export class WebglAddon implements ITerminalAddon {
}

public clearTextureAtlas(): void {
this._renderer?.clearCharAtlas();
this._renderer?.clearTextureAtlas();
}
}
2 changes: 1 addition & 1 deletion addons/xterm-addon-webgl/src/WebglRenderer.ts
Expand Up @@ -295,7 +295,7 @@ export class WebglRenderer extends Disposable implements IRenderer {
}
}

public clearCharAtlas(): void {
public clearTextureAtlas(): void {
this._charAtlas?.clearTexture();
this._clearModel(true);
this._updateModel(0, this._terminal.rows - 1);
Expand Down

0 comments on commit 5fcb084

Please sign in to comment.