open depthTest fix tiledmap Z invalid for fireball/issues/6198

This commit is contained in:
knoxHuang
2017-08-03 18:00:57 +08:00
parent 43e986e9a7
commit 40cbc093dd
+1 -1
View File
@@ -133,7 +133,7 @@ cc.rendererWebGL = {
init: function () {
var gl = cc._renderContext;
gl.disable(gl.CULL_FACE);
gl.disable(gl.DEPTH_TEST);
gl.enable(gl.DEPTH_TEST);
this.mat4Identity = new cc.math.Matrix4();
this.mat4Identity.identity();