Fix clearTextureAtlas call as implemented on IRenderer

This is the root cause of microsoft/vscode#162996
This commit is contained in:
Daniel Imms
2022-10-07 14:22:51 -07:00
parent a060c64a08
commit e89c507d06
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -60,6 +60,6 @@ export class WebglAddon implements ITerminalAddon {
}
public clearTextureAtlas(): void {
this._renderer?.clearCharAtlas();
this._renderer?.clearTextureAtlas();
}
}
@@ -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);