Add depth test to PolygonReplay

This commit is contained in:
GaborFarkas committed 2016-11-23 09:51:37 +01:00
1 parent 310fabe94a
commit ca1414b2d0
2 files changed
+27 -1

No files matched your search

@@ -406,7 +406,14 @@ describe('ol.render.webgl.PolygonReplay', function() {
geometry: new ol.geom.Polygon([[[0, 0], [500, 500], [500, 0], [0, 0]]])
});
beforeEach(function() {
gl = {};
gl = {
getParameter: function() {},
enable: function() {},
disable: function() {},
depthMask: function() {},
depthFunc: function() {},
clear: function() {}
};
context = {};
replay.setFillStyle_ = function() {};
replay.drawElements = function() {};