Missing flush

This commit is contained in:
Richard Davey 2020-11-18 10:26:44 +00:00
parent c4c849cff4
commit 916bfa78b2

View file

@ -2398,6 +2398,8 @@ var WebGLRenderer = new Class({
{ {
if (this.contextLost) { return; } if (this.contextLost) { return; }
this.flush();
this.emit(Events.POST_RENDER); this.emit(Events.POST_RENDER);
var state = this.snapshotState; var state = this.snapshotState;