Merge branch '4.1' into 4.2-beta

This commit is contained in:
Mario Zechner 2023-01-30 12:43:46 +01:00
commit fcc5cab7b4

View File

@ -138,7 +138,7 @@ export class PolygonBatcher implements Disposable {
let gl = this.context.gl;
gl.disable(gl.BLEND);
if (PolygonBatcher.disableCulling) {
if(this.cullWasEnabled) gl.enable(gl.CULL_FACE);
if (this.cullWasEnabled) gl.enable(gl.CULL_FACE);
}
}