mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Clear whole screen during refresh (#108)
This commit is contained in:
parent
c9a075fff9
commit
702089224f
2
js/gl.ts
2
js/gl.ts
@ -797,6 +797,8 @@ export class VideoModesGL implements VideoModes {
|
||||
const gr = this._grs[this.pageMode - 1];
|
||||
|
||||
if (this._refreshFlag) {
|
||||
const { width, height } = screenEmu.C.NTSC_DETAILS.imageSize;
|
||||
this.context.clearRect(0, 0, width, height);
|
||||
hgr.refresh();
|
||||
gr.refresh();
|
||||
this._refreshFlag = false;
|
||||
|
Loading…
Reference in New Issue
Block a user