Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kuznecov committed Oct 11, 2024
1 parent 1520d3e commit 2c3c0b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deckgl2gisLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ export class Deck2gisLayer<LayerT extends Layer> implements DeckCustomLayer {

this.programmBinder();

const prevDepthMask = gl.getParameter(gl.DEPTH_WRITEMASK);
gl.depthMask(false);
gl.drawArrays(gl.TRIANGLES, 0, 6);
gl.depthMask(true);
gl.depthMask(prevDepthMask);

(this.props.deck as any).glStateStore.useMapglWebglState();
};
Expand Down

0 comments on commit 2c3c0b8

Please sign in to comment.