Corrected re-enablement of depth testing in Text.

This commit is contained in:
Tom Gaskins 2015-11-08 20:08:07 -08:00
parent 69ff5f70c9
commit ade9f85c7d

View File

@ -562,7 +562,7 @@ define([
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
if (!this.activeAttributes.depthTest) {
// Turn depth testing back on.
gl.disable(gl.DEPTH_TEST, true);
gl.enable(gl.DEPTH_TEST, true);
}
}
};