Comparing version 0.0.27 to 0.0.28
{ | ||
"name": "ogl", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "WebGL Framework", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -320,3 +320,3 @@ import {Vec3} from '../math/Vec3.js'; | ||
// Ensure depth buffer writing is enabled so it can be cleared | ||
if (this.depth && (!target || !target.depth)) { | ||
if (this.depth && (!target || target.depth)) { | ||
this.enable(this.gl.DEPTH_TEST); | ||
@@ -323,0 +323,0 @@ this.setDepthMask(true); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
823629