mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Revoked open DEPTH_TEST
This commit is contained in:
@@ -133,7 +133,7 @@ cc.rendererWebGL = {
|
||||
init: function () {
|
||||
var gl = cc._renderContext;
|
||||
gl.disable(gl.CULL_FACE);
|
||||
gl.enable(gl.DEPTH_TEST);
|
||||
gl.disable(gl.DEPTH_TEST);
|
||||
|
||||
this.mat4Identity = new cc.math.Matrix4();
|
||||
this.mat4Identity.identity();
|
||||
|
||||
Reference in New Issue
Block a user